소스 검색

Fixed broken dependency from the switch of Symfony folder to Vendor folder

Yannick Warnier 12 년 전
부모
커밋
393334b375
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      main/inc/lib/log.class.php

+ 3 - 3
main/inc/lib/log.class.php

@@ -44,9 +44,9 @@ class Log
             return true;
         }
 
-        $directory = api_get_path(LIBRARY_PATH) . 'symfony';
+        $directory = api_get_path(SYS_PATH) . 'vendor';
         if (!class_exists('Doctrine\Common\ClassLoader', false)) {
-            require_once $directory . '/Doctrine/Common/ClassLoader.php';
+            require_once $directory . '/doctrine/common/lib/Doctrine/Common/ClassLoader.php';
         }
 
         $loader = new Doctrine\Common\ClassLoader('Monolog', $directory);
@@ -219,4 +219,4 @@ class Log
         return self::write(Logger::ALERT, $message, $context);
     }
 
-}
+}