diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-10 07:42:00 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-10 07:42:00 -0700 |
| commit | a3c9104568704b5e626c9ac9b95921c8a67ef79a (patch) | |
| tree | 23be8f92ec3119c9fbc37eea5629fa8f5c11f1d2 /modules/gallery/views/kohana_error_page.php | |
| parent | 1f1cb01a967b508374ec9202815cb190bf4ea463 (diff) | |
| parent | 66014819b4e7fd8a5438eb800675641f7d213e27 (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views/kohana_error_page.php')
| -rw-r--r-- | modules/gallery/views/kohana_error_page.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/kohana_error_page.php b/modules/gallery/views/kohana_error_page.php index d9bf9698..6bf48549 100644 --- a/modules/gallery/views/kohana_error_page.php +++ b/modules/gallery/views/kohana_error_page.php @@ -59,7 +59,7 @@ </head> <body> <? try { $user = user::active(); } catch (Exception $e) { } ?> - <? $admin = isset($user) && $user->admin ?> + <? $admin = php_sapi_name() == "cli" || isset($user) && $user->admin ?> <div class="big_box" id="framework_error"> <h1> <?= t("Dang... Something went wrong!") ?> |
