소스 검색

Merge branch 'master' of https://github.com/unaio/una

AntonLV 6 년 전
부모
커밋
b7c3de7143
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      inc/classes/BxDolTemplate.php

+ 1 - 1
inc/classes/BxDolTemplate.php

@@ -1997,7 +1997,7 @@ class BxDolTemplate extends BxDolFactory implements iBxDolSingleton
 						$sFile = basename($aMatches[1]);
 				        $sDirectory = dirname($aMatches[1]);
 
-				        $sRootPath = realpath(BX_DIRECTORY_PATH_ROOT);
+				        $sRootPath = realpath(BX_DIRECTORY_PATH_ROOT) . '/';
 				        $sAbsolutePath = realpath(addslashes($sPath) . $sDirectory) . DIRECTORY_SEPARATOR . $sFile;
 
 				        $sRootPath = str_replace(DIRECTORY_SEPARATOR, '/', $sRootPath);