mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Cleanup the indentation ... tabs and whitespace after the last pull request.
This commit is contained in:
@@ -25,17 +25,14 @@
|
||||
*/
|
||||
|
||||
//check the permission
|
||||
|
||||
if(defined('STDIN')) {
|
||||
// $document_root = str_replace("\\", "/", $_SERVER["PHP_SELF"]);
|
||||
// preg_match("/^(.*)\/core\/.*$/", $document_root, $matches);
|
||||
// $document_root = $matches[1];
|
||||
// set_include_path($document_root);
|
||||
$format = 'text'; //html, text
|
||||
include "root.php";
|
||||
$document_root = str_replace("\\", "/", $_SERVER["PHP_SELF"]);
|
||||
preg_match("/^(.*)\/core\/.*$/", $document_root, $matches);
|
||||
$document_root = $matches[1];
|
||||
set_include_path($document_root);
|
||||
require_once "resources/require.php";
|
||||
|
||||
// $_SERVER["DOCUMENT_ROOT"] = $document_root;
|
||||
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
||||
$format = 'text'; //html, text
|
||||
}
|
||||
else {
|
||||
include "root.php";
|
||||
|
||||
Reference in New Issue
Block a user