|
@@ -33,7 +33,8 @@
|
|
preg_match("/^(.*)\/core\/.*$/", $document_root, $matches);
|
|
preg_match("/^(.*)\/core\/.*$/", $document_root, $matches);
|
|
$document_root = $matches[1];
|
|
$document_root = $matches[1];
|
|
set_include_path($document_root);
|
|
set_include_path($document_root);
|
|
- require_once "resources/require.php";
|
|
|
|
|
|
+ include "root.php";
|
|
|
|
+ include "resources/functions.php";
|
|
require_once "resources/classes/text.php";
|
|
require_once "resources/classes/text.php";
|
|
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
|
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
|
$format = 'text'; //html, text
|
|
$format = 'text'; //html, text
|