diff options
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/config/identity.php | 2 | ||||
-rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/config/identity.php b/modules/gallery/config/identity.php index 72d1b589..0479d08b 100644 --- a/modules/gallery/config/identity.php +++ b/modules/gallery/config/identity.php @@ -32,6 +32,6 @@ */ $config["default"] = array ( "driver" => "gallery", - "allow_updates" => false, + "allow_updates" => true, "params" => array(), ); diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index a342b4bd..54b35fb7 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -55,6 +55,7 @@ class gallery_theme_Core { if ($theme->page_type != "login") { $view = new View("login.html"); $view->user = user::active(); + $view->writable = user::is_writable(); return $view->render(); } } |