move paths_installed to shared folder CORE #55
This commit is contained in:
@@ -451,6 +451,7 @@ class WebApplication
|
||||
define("PATH_TRUNK", $this->rootDir . PATH_SEP);
|
||||
define("PATH_OUTTRUNK", realpath($this->rootDir . "/../") . PATH_SEP);
|
||||
define("PATH_HOME", $this->rootDir . PATH_SEP . "workflow" . PATH_SEP);
|
||||
define('PATH_DATA', isset($_SERVER['PATH_DATA']) ? $_SERVER['PATH_DATA'] : PATH_TRUNK . 'shared' . PATH_SEP );
|
||||
|
||||
define("PATH_HTML", PATH_HOME . "public_html" . PATH_SEP);
|
||||
define("PATH_RBAC_HOME", PATH_TRUNK . "rbac" . PATH_SEP);
|
||||
@@ -479,7 +480,7 @@ class WebApplication
|
||||
define("PATH_UPLOAD", PATH_HTML . "files" . PATH_SEP);
|
||||
define("PATH_WORKFLOW_MYSQL_DATA", PATH_CORE . "data" . PATH_SEP . "mysql" . PATH_SEP);
|
||||
define("PATH_RBAC_MYSQL_DATA", PATH_RBAC_CORE . "data" . PATH_SEP . "mysql" . PATH_SEP);
|
||||
define("FILE_PATHS_INSTALLED", PATH_CORE . "config" . PATH_SEP . "paths_installed.php");
|
||||
define("FILE_PATHS_INSTALLED", PATH_DATA . "config" . PATH_SEP . "paths_installed.php");
|
||||
define("PATH_WORKFLOW_MSSQL_DATA", PATH_CORE . "data" . PATH_SEP . "mssql" . PATH_SEP);
|
||||
define("PATH_RBAC_MSSQL_DATA", PATH_RBAC_CORE . "data" . PATH_SEP . "mssql" . PATH_SEP);
|
||||
define("PATH_CONTROLLERS", PATH_CORE . "controllers" . PATH_SEP);
|
||||
@@ -493,7 +494,7 @@ class WebApplication
|
||||
}
|
||||
|
||||
// include the server installed configuration
|
||||
require_once PATH_CORE . "config" . PATH_SEP . "paths_installed.php";
|
||||
require_once FILE_PATHS_INSTALLED;
|
||||
|
||||
// defining system constant when a valid server environment exists
|
||||
define("PATH_LANGUAGECONT", PATH_DATA . "META-INF" . PATH_SEP);
|
||||
|
||||
Reference in New Issue
Block a user