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:
@@ -32,6 +32,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function sandbox() {
|
||||
return preg_match("%^/[^/]*sand/%", $_SERVER['REQUEST_URI']);
|
||||
}
|
||||
|
||||
function server_request_var($var) {
|
||||
return (preg_match("/^HTTP/", $var));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user