Aloha Virtual Posted April 25, 2010 Report Share Posted April 25, 2010 Can i get a copy of a local.config.php minus the addresses and passwords please? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 25, 2010 Moderators Report Share Posted April 25, 2010 Just create a file called local.config.php with 776 permissions and put it in your core folder. The main lines you need are <?php /** * This is the phpVMS Main Configuration File * * This file won't be modified/touched by future versions * of phpVMS, you can change your settings here * * There may also be additional settings in app.config.php * To change it, copy the line into this file here, for the * settings to take effect * */ define('DBASE_USER', ''); define('DBASE_PASS', ''); define('DBASE_NAME', ''); define('DBASE_SERVER', 'localhost'); define('DBASE_TYPE', 'mysql'); define('TABLE_PREFIX', 'phpvms_'); define('SITE_URL', ''); # Page encoding options Config::Set('PAGE_ENCODING', 'ISO-8859-1'); # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE_MODE', false); Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for routine maintenance, please check back soon.'); # See more details about these in the docs Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID Config::Set('UNITS', 'nm'); # Your units: nm, mi or km Config::Set('LOAD_FACTOR', '96'); # %age load factor Config::Set('CARGO_UNITS', 'Kg'); ?> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 The skeleton is in install/templates/config.tpl Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.