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

@@ -32,6 +32,10 @@
*
*/
function sandbox() {
return preg_match("%^/[^/]*sand/%", $_SERVER['REQUEST_URI']);
}
function server_request_var($var) {
return (preg_match("/^HTTP/", $var));
}