functions.php
changeset 57 31ce64a3ff6c
parent 52 ab3541465382
child 64 ee64bb096f56
equal deleted inserted replaced
56:53b0f0d7ff6f 57:31ce64a3ff6c
   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   foreach ( array('public', 'allowcontrol', 'theme', 'allow_fork', 'use_auth', 'auth_data', 'configpass') as $var )
   298   foreach ( array('public', 'enable_ipv4', 'enable_ipv6', 'allowcontrol', 'theme', 'allow_fork', 'use_auth', 'auth_data', 'configpass') as $var )
   299   {
   299   {
   300     if ( isset($$var) )
   300     if ( isset($$var) )
   301     {
   301     {
   302       $GLOBALS[$var] = $$var;
   302       $GLOBALS[$var] = $$var;
   303     }
   303     }