Explorar o código

fixed missing prefs.php require_once to use getPref in line 79

centaurix %!s(int64=23) %!d(string=hai) anos
pai
achega
c327c66e07
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/validate.php

+ 2 - 1
src/validate.php

@@ -14,6 +14,7 @@ session_start();
 require_once('../functions/i18n.php');
 require_once('../functions/auth.php');
 require_once('../functions/strings.php');
+require_once('../functions/prefs.php');
 
 is_logged_in();
 
@@ -84,4 +85,4 @@ if ( $timeZone != SMPREF_NONE && ($timeZone <> '')
     putenv( 'TZ=' . $timeZone );
 }
 
-?>
+?>