hi,
i need to have 2 sites on the same server (in separate folders) and 1 db.
to accomodate this, i've created 2 new fields in the cms_config_custom: so i have
server path = /dir1/
cookie path = /dir1/
server path2 = /dir2/
cookie path2 = /dir2/
what i'm trying to figure out is where can i change the settings within the site located in dir2 folder to pull the values from path2 instead of path.
I have looked at the admin/modules/settings.php
$sections = array(
array('global' => array('sitename', 'site_logo', 'slogan', 'startdate', 'adminmail', 'crumb', 'admin_help', 'update_monitor', 'GoogleTap', 'block_frames', 'Default_Theme'),
'server' => array('domain', 'path')),
array('global' => array('maintenance', 'maintenance_text')),
array('cookie' => array('server', 'domain', 'path', 'admin', 'member')),
array('global' => array('foot1', 'foot2', 'foot3')),
array('global' => array('backend_title', 'backend_language')),
array('global' => array('commentlimit', 'pollcomm', 'moderate')),
array('global' => array('CensorMode', 'CensorReplace')),
array('email' => array('allow_html_email', 'smtp_on', 'smtphost', 'smtp_auth', 'smtp_uname', 'smtp_pass')),
array('debug' => array('database', 'session')),
array('global' => array('banners', 'httpref', 'httprefmax', 'top'))
);
and changed the path to path2, unfortunately this doesnt resolve the problems i am experiencing.
site 1 works fine, site 2 keeps going over to site 1. I need to keep them seperate, but maintain 1 db.
any ideas?
millzee's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) x86/centro/5.1/5.2/9.2.3.3
|