Explorar o código

If you change working things in configuration either use same case or fix it after you change it ("none" != "None" in folder refresh)

Ondřej Surý %!s(int64=24) %!d(string=hai) anos
pai
achega
277a1fb6ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/left_main.php

+ 1 - 1
src/left_main.php

@@ -143,7 +143,7 @@
    /* END OF FUNCTION - BACK TO MAIN */
    /**********************************/
 
-    if (isset($left_refresh) && ($left_refresh != 'None') && ($left_refresh != '')) {
+    if (isset($left_refresh) && ($left_refresh != 'none') && ($left_refresh != '')) {
         echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">\n";
         echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"; 
         echo "<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"$left_refresh;URL=left_main.php\">\n";