summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 20:59:23 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-28 20:59:23 -0700
commit20a2d9f9a8bc0f69b3ebef846a88869870e4e0c4 (patch)
treef8634b2c993d0cdb99de0232242dc1e0b5a6cc35 /modules
parent3da5ee2f4c46947d8fcd5fe54d012ec3d6fa7312 (diff)
Reset the cascading file path properly before reinstalling.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php
index d0760332..56220a19 100644
--- a/modules/gallery_unit_test/controllers/gallery_unit_test.php
+++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php
@@ -95,10 +95,14 @@ class Gallery_Unit_Test_Controller extends Controller {
module::$var_cache = array();
$db->clear_cache();
+ // Rest the cascading class path
+ Kohana::config_set("core", Kohana::config_load("core"));
+
// Install all modules
// Force gallery and user to be installed first to resolve dependencies.
gallery_installer::install(true);
module::load_modules();
+
module::install("user");
module::activate("user");
$modules = array();