diff options
author | Felix Rabinovich <virshu@users.sourceforge.net> | 2009-01-09 23:31:46 +0000 |
---|---|---|
committer | Felix Rabinovich <virshu@users.sourceforge.net> | 2009-01-09 23:31:46 +0000 |
commit | b647aa0f74e66548d6d69fc4585b89220ce60043 (patch) | |
tree | 81c78a1d1694462d45db75ab7f56d9c3cbc192de /core/hooks | |
parent | 1e14594d689a1150e922a5f5fe01956be4ccaf21 (diff) |
Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet
Diffstat (limited to 'core/hooks')
-rw-r--r-- | core/hooks/load_modules.php | 2 | ||||
-rw-r--r-- | core/hooks/load_themes.php | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/core/hooks/load_modules.php b/core/hooks/load_modules.php index 887582f7..1c281cdf 100644 --- a/core/hooks/load_modules.php +++ b/core/hooks/load_modules.php @@ -19,4 +19,4 @@ */ Event::add("system.ready", array("module", "load_modules")); -Event::add("system.post_routing", array("module", "load_themes")); + diff --git a/core/hooks/load_themes.php b/core/hooks/load_themes.php new file mode 100644 index 00000000..e5fc12b6 --- /dev/null +++ b/core/hooks/load_themes.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2008 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ + +Event::add("system.post_routing", array("theme", "load_themes")); |