wifidog / wifidog-auth

Repository for the PHP wifidog captive portal auth server
194 stars 121 forks source link

blank would cause to wrong defined value #6

Closed yzh0304 closed 9 years ago

yzh0304 commented 9 years ago

If there are some blanks in the define sentence or more than one define sentence in one line in the config.php (for example define('CONF_DATABASE_PORT', '5432')),the defined value would not be got in the install.php, because the preg_match function(about line 350 in install.php) would fail.