summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_graphics.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-27 16:15:00 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-27 16:17:29 -0700
commit88a3d43ba9b9377ba6bbe21a4547220ae3a37276 (patch)
treebcdfaa4188a7e9a8e698c895f84f0ca899005391 /modules/gallery/controllers/admin_graphics.php
parent12fe58d997d2066dc362fd393a18b4e5da190513 (diff)
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs.
Diffstat (limited to 'modules/gallery/controllers/admin_graphics.php')
-rw-r--r--modules/gallery/controllers/admin_graphics.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gallery/controllers/admin_graphics.php b/modules/gallery/controllers/admin_graphics.php
index 0b3014f0..7e8ef47c 100644
--- a/modules/gallery/controllers/admin_graphics.php
+++ b/modules/gallery/controllers/admin_graphics.php
@@ -24,7 +24,7 @@ class Admin_Graphics_Controller extends Admin_Controller {
$view->content->available = "";
$tk = new ArrayObject(graphics::detect_toolkits(), ArrayObject::ARRAY_AS_PROPS);
- $active = module::get_var("core", "graphics_toolkit", "none");
+ $active = module::get_var("gallery", "graphics_toolkit", "none");
foreach (array("gd", "imagemagick", "graphicsmagick", "none") as $id) {
if ($id == $active) {
$view->content->active = new View("admin_graphics_$id.html");
@@ -43,12 +43,12 @@ class Admin_Graphics_Controller extends Admin_Controller {
public function choose($toolkit) {
access::verify_csrf();
- if ($toolkit != module::get_var("core", "graphics_toolkit")) {
- module::set_var("core", "graphics_toolkit", $toolkit);
+ if ($toolkit != module::get_var("gallery", "graphics_toolkit")) {
+ module::set_var("gallery", "graphics_toolkit", $toolkit);
$toolkit_info = graphics::detect_toolkits();
if ($toolkit == "graphicsmagick" || $toolkit == "imagemagick") {
- module::set_var("core", "graphics_toolkit_path", $toolkit_info[$toolkit]);
+ module::set_var("gallery", "graphics_toolkit_path", $toolkit_info[$toolkit]);
}
site_status::clear("missing_graphics_toolkit");