mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
#18897450 : image path problem fixed
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7488 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c6440cb9aa
commit
161435c0f2
1 changed files with 5 additions and 1 deletions
|
|
@ -29,7 +29,11 @@ if(file_exists($dbconfig_file)){
|
||||||
$cache_support = false;
|
$cache_support = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$XE_WEB_PATH = substr($XE_PATH,strlen($_SERVER['DOCUMENT_ROOT']));
|
//$XE_WEB_PATH = substr($XE_PATH,strlen($_SERVER['DOCUMENT_ROOT']));
|
||||||
|
$XE_WEB_PATH_arr = explode("/", $_SERVER['REQUEST_URI']);
|
||||||
|
array_pop($XE_WEB_PATH_arr);
|
||||||
|
array_pop($XE_WEB_PATH_arr);
|
||||||
|
$XE_WEB_PATH = implode("/", $XE_WEB_PATH_arr);
|
||||||
if(substr($XE_WEB_PATH,-1) != "/") $XE_WEB_PATH .= "/";
|
if(substr($XE_WEB_PATH,-1) != "/") $XE_WEB_PATH .= "/";
|
||||||
$cache_path = $XE_PATH . 'files/cache/optimized/';
|
$cache_path = $XE_PATH . 'files/cache/optimized/';
|
||||||
$type = $_GET['t'];
|
$type = $_GET['t'];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue