functions.php
changeset 52 ab3541465382
parent 50 1b4288399b1f
child 57 31ce64a3ff6c
equal deleted inserted replaced
51:7009a9cbd46f 52:ab3541465382
   292     if ( @is_dir(GREY_ROOT . '/.hg') )
   292     if ( @is_dir(GREY_ROOT . '/.hg') )
   293       require(GREY_ROOT . '/config.dev.php');
   293       require(GREY_ROOT . '/config.dev.php');
   294     else
   294     else
   295       require(GREY_ROOT . '/config.php');
   295       require(GREY_ROOT . '/config.php');
   296   }
   296   }
   297 }
   297   
   298 
   298   foreach ( array('public', 'allowcontrol', 'theme', 'allow_fork', 'use_auth', 'auth_data', 'configpass') as $var )
       
   299   {
       
   300     if ( isset($$var) )
       
   301     {
       
   302       $GLOBALS[$var] = $$var;
       
   303     }
       
   304   }
       
   305 }
       
   306