Changeset 3952
- Timestamp:
- 03/08/08 08:29:32 (16 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine.php
r3936 r3952 983 983 } 984 984 985 if ( ! self::$_path) { 986 self::$_path = dirname(__FILE__); 987 } 988 989 $class = self::$_path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; 985 $class = self::getPath() . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; 990 986 991 987 if (file_exists($class)) { … … 998 994 999 995 if (isset($loadedModels[$className]) && file_exists($loadedModels[$className])) { 1000 require _once$loadedModels[$className];996 require $loadedModels[$className]; 1001 997 1002 998 return true;