Theme work, and a sandbox function for a consistent point to check whether we're sandboxed or not.

git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@807 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-28 19:57:30 +00:00
parent 0c9b945f7b
commit 7bcee943a5
35 changed files with 833 additions and 73 deletions

View File

@@ -12,7 +12,7 @@ class DATABASE_CONFIG {
);
function __construct() {
if (preg_match("%^/[^/]*sand/%", $_SERVER['REQUEST_URI']))
if (sandbox())
$this->default['database'] = 'pmgr_sand';
}
}