A common library for PHP+Javascript.
Class prefixes:
_DOdatabase_SOsession
Function prefixes:
___debug__*hidden_*system_strstring-related_sesession-related_mlmultilingual support
- Make importer.php in each project.
- Import importer.php in major files of the project.
An importer.php sample:
<?php
$is_debugging = true;
set_include_path(get_include_path() . PATH_SEPARATOR . '/var/www/html/common');
$__context = array('timezone' => 'America/New_York');
$__db = array('user' => 'root', 'password' => 'PasswordForRoot');
$__app = array('name' => basename(dirname($_SERVER['SCRIPT_NAME'])), 'root' => 'RootUserName');
include_once('lib-misc.php');
include_once('lib-db.php');
include_once('lib-session.php');
?>