* Got bored and copied all the validate.php and define() stuff to 1.1
[squirrelmail.git] / functions / array.php
index a64eb60779d60515a5381ed635a3031abb4ee558..638153ab4f3ac8920e711792c000bc14a3fd3de6 100644 (file)
@@ -8,7 +8,10 @@
     **  $Id$
     **/
 
-   $array_php = true;
+
+   if (defined ('array_php'))
+       return; 
+   define ('array_php', true); 
 
    function ary_sort($ary,$col, $dir = 1){
       // The globals are used because USORT determines what is passed to comp2