ソースを参照

reset objects when using App::build() with App::RESET

Ceeram 15 年 前
コミット
37fcfb9c86
1 ファイル変更1 行追加0 行削除
  1. 1 0
      lib/Cake/Core/App.php

+ 1 - 0
lib/Cake/Core/App.php

@@ -326,6 +326,7 @@ class App {
 					$type = self::$legacy[$type];
 				}
 				self::$__packages[$type] = (array)$new;
+				self::objects($type, null, false);
 			}
 			return $paths;
 		}