Merge pull request #1397 from mafoo/Enhance-root.php

Enhance root.php
This commit is contained in:
FusionPBX
2016-01-20 11:06:18 -07:00
69 changed files with 69 additions and 69 deletions

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);

View File

@@ -75,7 +75,7 @@
$i++;
}
if(!file_exists($path. '/.project.ROOT')){
throw new Exception("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
die("Failed to locate the Project Root by searching for .project.ROOT please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);