From: <ice...@us...> - 2013-08-04 05:48:56
|
Revision: 6174 http://sourceforge.net/p/web-erp/reponame/6174 Author: icedlava Date: 2013-08-04 05:48:54 +0000 (Sun, 04 Aug 2013) Log Message: ----------- Update the Getting Started - Manual Install section of the Manual. Modified Paths: -------------- trunk/doc/Manual/ManualGettingStarted.html trunk/doc/Manual/images/Installer_1a.jpg Modified: trunk/doc/Manual/ManualGettingStarted.html =================================================================== --- trunk/doc/Manual/ManualGettingStarted.html 2013-08-04 03:19:22 UTC (rev 6173) +++ trunk/doc/Manual/ManualGettingStarted.html 2013-08-04 05:48:54 UTC (rev 6174) @@ -179,15 +179,21 @@ <p>putenv('Australia/Sydney');</p> <p>This ensures that the time-zone of the business is displayed on all browsers using the system irrespective of where the web-server is located (i.e. the timezone of the web-server)</p> +<p>The CompanyList array is defined at the end of the config.php file and usually added by the installer, or a webERP utility script (Z_MakeNewCompany.php) that will create a new additional company and database setup for webERP. The CompanyList array contains a list of databases used with their associated Company Name. One of the functions is to allow Login to show the Companies available and obfuscate the database name for security reasons. This CompanyList array should be added as in the example below.</p> <pre> // User configurable variables //--------------------------------------------------- - //DefaultLanguage to use for the login screen and the setup of new users - the users language selection will override - $DefaultLanguage ='en_GB'; + //DefaultLanguage to use for the login screen and the setup of new users + //The users' language selection will overrid + $DefaultLanguage ='en_GB.utf8'; - // Whether to display the demo login and password or not on the login screen<br> $AllowDemoMode = false; + // Whether to display the demo login and password or not on the login screen<br> + $AllowDemoMode = false; + // email address of the system administrator + $SysAdminEmail = 'ad...@my...'; + // webERP version $Version = '3.04'; @@ -203,9 +209,9 @@ // $host is the computer ip address or name where the database is located // assuming that the web server is also the sql server $host = 'localhost'; - + $mysqlport=3306; //The type of db server being used - currently only mysqli or mysql - $DBType = 'mysql'; + //$DBType = 'mysql'; //$DBType = 'mysqli'; // sql user & password @@ -221,7 +227,7 @@ //These directories are created automatically each time a company is created from the Z_MakeNewCompany.php script //This script also creates the company databases. - $DefaultCompany = 'weberpdemo'; + $DefaultDatabase = 'weberpdemo'; //The maximum time that a login session can be idle before automatic logout<br> //time is in seconds 3600 seconds in an hour @@ -239,6 +245,10 @@ $CryptFunction = "sha1"; // SHA1 Hash //$CryptFunction = ""; // Plain Text + //Setting to 12 or 24 determines the format of the clock display at the end of all screens + $DefaultClock = 12; + //$DefaultClock = 24 + // END OF USER CONFIGURABLE VARIABLES /*The $RootPath is used in most scripts to tell the script the installation details of the files. @@ -248,15 +258,26 @@ */ $RootPath = dirname(htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8')); + if (isset($DirectoryLevelsDeep)){ + for ($i=0;$i<$DirectoryLevelsDeep;$i++){ + $RootPath = mb_substr($RootPath,0, strrpos($RootPath,'/')); + } + } + if ($RootPath == "/" OR $RootPath == "\\") { - $RootPath = ""; + $RootPath = ""; } //Report all errors except E_NOTICE This is the default value set in php.ini for most installations //but just to be sure it is forced here turning on NOTICES destroys things error_reporting (E_ALL & ~E_NOTICE); - + + //Installed companies + $CompanyList[0] = array('database'=>'weberptest' ,'company'=>'My Company' ); + $CompanyList[1] = array('database'=>'weberpdemo' ,'company'=>'WebERP Demo Company' ); + //End Installed companies-do not change this line + /*Make sure there is nothing - not even spaces after this last ?> */ ?> ============================================ end of config.php Modified: trunk/doc/Manual/images/Installer_1a.jpg =================================================================== (Binary files differ) |