فهرست منبع

Ensure theme and theme_default variables are accessible in login

Andy 7 سال پیش
والد
کامیت
c86a07375b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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']);