Skip to content

Commit

Permalink
Removed a rogue exit; from thumb.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Suraci committed Jul 8, 2008
1 parent 8122756 commit 8009be9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion feathers/photo/thumb.php
Expand Up @@ -67,7 +67,7 @@
readfile($cache_file);
exit; # no need to create thumbnail - it already exists in the cache
}
exit;

# determine php and gd versions
$ver = (int) str_replace(".", "", phpversion());
if ($ver >= 430)
Expand Down
1 change: 1 addition & 0 deletions includes/class/Flash.php
Expand Up @@ -7,6 +7,7 @@ class Flash {
private $notices = array();
private $warnings = array();
private $messages = array();

private $all = array();

/**
Expand Down
2 changes: 1 addition & 1 deletion includes/common.php
Expand Up @@ -311,7 +311,7 @@
load_translator("theme", THEME_DIR."/locale/".$config->locale.".mo");

if (!JAVASCRIPT and !XML_RPC) {
if (!$visitor->group()->can("view_site") and !in_array($route->action, array("process_login", "login", "logout", "process_registration", "register")))
if (!$visitor->group()->can("view_site") and !in_array($route->action, array("login", "logout", "register")))
if ($trigger->exists("can_not_view_site"))
$trigger->call("can_not_view_site");
else
Expand Down

0 comments on commit 8009be9

Please sign in to comment.