Jump to content

local.config.php


Aloha Virtual

Recommended Posts

  • Moderators

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');

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...