Browse Source

Ensure theme and theme_default variables are accessible in login

Andy 7 years ago
parent
commit
c86a07375b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/login.php

+ 1 - 1
src/login.php

@@ -85,7 +85,7 @@ $header = "<script type=\"text/javascript\">\n" .
           "  }\n".
           "// -->\n".
           "</script>\n";
-
+global $theme, $theme_default;
 if (@file_exists($theme[$theme_default]['PATH']))
    @include ($theme[$theme_default]['PATH']);