Explorar o código

Ensure theme and theme_default variables are accessible in login

Andy %!s(int64=7) %!d(string=hai) anos
pai
achega
c86a07375b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);