Added more sandbox functionality, including a script to generate the sandbox on the fly from the absolute latest data.

git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@813 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-28 21:06:20 +00:00
parent fde8923814
commit 63e22ec9bf
3 changed files with 15 additions and 2 deletions

View File

@@ -39,8 +39,8 @@ class UtilController extends AppController {
$this->layout = null;
$this->autoLayout = false;
$this->autoRender = false;
Configure::write('debug', '2');
$script = preg_replace('%/webroot/index.php%',
Configure::write('debug', '0');
$script = preg_replace('%/webroot/index.php$%',
'/build_sandbox.cmd',
$_SERVER['SCRIPT_FILENAME']);
echo "<P>" . date('r') . "\n";