mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
issue 107, fixed a bug for frondend file path is wrong on windows
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9428 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
82d28676bf
commit
9699246ebd
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@
|
|||
|
||||
if(strpos($path, './') === 0)
|
||||
{
|
||||
if (dirname($_SERVER['SCRIPT_NAME']) == '/')
|
||||
if (dirname($_SERVER['SCRIPT_NAME']) == '/' || dirname($_SERVER['SCRIPT_NAME']) == '\\')
|
||||
{
|
||||
$path = '/' . substr($path, 2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue