]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/functions.php
Fix array declaration
[jirafeau_mojo42.git] / lib / functions.php
index 9a9df7115c798eafff707c588d8a1eee9bf35246..b658b17d19b9727b80217058f6a18360e3808564 100755 (executable)
@@ -39,22 +39,22 @@ function
 base_16_to_64 ($num)
 {
     $m = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_';
 base_16_to_64 ($num)
 {
     $m = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_';
-    $hex2bin = ['0000', # 0
-                '0001', # 1
-                '0010', # 2
-                '0011', # 3
-                '0100', # 4
-                '0101', # 5
-                '0110', # 6
-                '0111', # 7
-                '1000', # 8
-                '1001', # 9
-                '1010', # a
-                '1011', # b
-                '1100', # c
-                '1101', # d
-                '1110', # e
-                '1111']; # f
+    $hex2bin = array ('0000', # 0
+                      '0001', # 1
+                      '0010', # 2
+                      '0011', # 3
+                      '0100', # 4
+                      '0101', # 5
+                      '0110', # 6
+                      '0111', # 7
+                      '1000', # 8
+                      '1001', # 9
+                      '1010', # a
+                      '1011', # b
+                      '1100', # c
+                      '1101', # d
+                      '1110', # e
+                      '1111'); # f
     $o = '';    
     $b = '';
     $i = 0;
     $o = '';    
     $b = '';
     $i = 0;
@@ -919,4 +919,4 @@ jirafeau_async_end ($ref, $code)
     jirafeau_async_delete ($ref);
     return $md5_link . NL . $delete_link_code;
 }
     jirafeau_async_delete ($ref);
     return $md5_link . NL . $delete_link_code;
 }
-?>
\ No newline at end of file
+?>

patrick-canterino.de