Completed
Push — master ( 08e2eb...3facbb )
by Markus
03:54
created
base.php 1 patch
Upper-Lower-Casing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,14 +38,14 @@  discard block
 block discarded – undo
38 38
     // If there is a syntax error in the function created
39 39
     // $dot will be equal to FALSE
40 40
     if (!$dot) {
41
-        return FALSE;
41
+        return false;
42 42
     }
43 43
     // Execute the template
44 44
     if (!empty ($data)) {
45 45
         return $dot ($data);
46 46
     }
47 47
 
48
-    return NULL;
48
+    return null;
49 49
 }
50 50
 
51 51
 function getQueryString()
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     $_SERVER['REDIRECT_STATUS'] = 404;
65 65
 }
66 66
 
67
-function getURLParam($name, $default = NULL)
67
+function getURLParam($name, $default = null)
68 68
 {
69 69
     if (!empty ($_GET) && isset($_GET[$name]) && $_GET[$name] != '') {
70 70
         return $_GET[$name];
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
         $langs = getAcceptLanguages();
263 263
     }
264 264
     //echo var_dump($langs);
265
-    $lang_file = NULL;
265
+    $lang_file = null;
266 266
     foreach ($langs as $language => $val) {
267 267
         $temp_file = dirname(__FILE__). '/lang/Localization_' . $language . '.json';
268 268
         if (file_exists($temp_file)) {
@@ -292,13 +292,13 @@  discard block
 block discarded – undo
292 292
         $phrase .= '.many';
293 293
 
294 294
     /* Static keyword is used to ensure the file is loaded only once */
295
-    static $translations = NULL;
295
+    static $translations = null;
296 296
     if ($reset) {
297
-        $translations = NULL;
297
+        $translations = null;
298 298
     }
299 299
     /* If no instance of $translations has occured load the language file */
300 300
     if (is_null($translations)) {
301
-        $lang_file_en = NULL;
301
+        $lang_file_en = null;
302 302
         list ($lang, $lang_file) = getLangAndTranslationFile();
303 303
         if ($lang != 'en') {
304 304
             $lang_file_en = dirname(__FILE__). '/lang/' . 'Localization_en.json';
Please login to merge, or discard this patch.