|
|
@ -18,7 +18,7 @@ if(!defined('ROOT_PATH')) {
|
|
|
|
if($url_path != null) {
|
|
|
|
if($url_path != null) {
|
|
|
|
$url_path = substr($url_path,0,strrpos($url_path,'/'));
|
|
|
|
$url_path = substr($url_path,0,strrpos($url_path,'/'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(is_dir($actual_path . '/include/config')) {
|
|
|
|
if(@is_dir($actual_path . '/include/config')) {
|
|
|
|
define('ROOT_PATH', $actual_path);
|
|
|
|
define('ROOT_PATH', $actual_path);
|
|
|
|
if($url_path != null) {
|
|
|
|
if($url_path != null) {
|
|
|
|
define('ROOT_URL', $url_path);
|
|
|
|
define('ROOT_URL', $url_path);
|
|
|
|