Make the domain and schema work with the PHP classes

This commit is contained in:
Mark Crane
2014-07-16 04:30:49 +00:00
parent 4fd34d1c80
commit 181e2881c0
8 changed files with 70 additions and 99 deletions

View File

@@ -35,7 +35,7 @@
set_include_path($document_root);
require_once "resources/require.php";
$_SERVER["DOCUMENT_ROOT"] = $document_root;
$display_type = 'text'; //html, text
$format = 'text'; //html, text
}
else if (!$included) {
include "root.php";
@@ -48,6 +48,7 @@
echo "access denied";
exit;
}
$format = 'html'; //html, text
}
//run all app_defaults.php files