From 4b790f5b76dd1258cdd571a59a45681bfc1f9dab Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 2 May 2009 20:49:09 +0000 Subject: Revert r20668; if we call our helper 'gallery' then it interferes with g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble. --- core/helpers/core.php | 30 ++++++++++++++++++++++++++++++ core/helpers/gallery.php | 30 ------------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 core/helpers/core.php delete mode 100644 core/helpers/gallery.php (limited to 'core/helpers') diff --git a/core/helpers/core.php b/core/helpers/core.php new file mode 100644 index 00000000..5e5a12a7 --- /dev/null +++ b/core/helpers/core.php @@ -0,0 +1,30 @@ +admin) { + Router::$controller = "maintenance"; + Router::$controller_path = APPPATH . "controllers/maintenance.php"; + Router::$method = "index"; + } + } +} \ No newline at end of file diff --git a/core/helpers/gallery.php b/core/helpers/gallery.php deleted file mode 100644 index 74ecd672..00000000 --- a/core/helpers/gallery.php +++ /dev/null @@ -1,30 +0,0 @@ -admin) { - Router::$controller = "maintenance"; - Router::$controller_path = APPPATH . "controllers/maintenance.php"; - Router::$method = "index"; - } - } -} \ No newline at end of file -- cgit v1.2.3