mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-28 10:43:53 -04:00
Fix for ticket #200. When an error occurs the current uri is no
longer admin/server_add but admin/server_add/add_path and the equality check fails.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
class server_add_theme_Core {
|
||||
static function admin_head($theme) {
|
||||
$head = array();
|
||||
if (Router::$current_uri == "admin/server_add") {
|
||||
if (strpos(Router::$current_uri, "admin/server_add") !== false) {
|
||||
$head[] = "<link media=\"screen, projection\" rel=\"stylesheet\" type=\"text/css\" href=\"" .
|
||||
url::file("lib/jquery.autocomplete.css") . "\" />";
|
||||
$base = url::site("__ARGS__");
|
||||
|
||||
Reference in New Issue
Block a user