Replaced func_get_args() by ...$params (PHP 5.6+).
This commit is contained in:
parent
7bbd2e54db
commit
5d9b56d194
3 changed files with 18 additions and 14 deletions
|
|
@ -35,7 +35,7 @@ $conf['php-censor']['url'] = 'http://php-censor.local';
|
|||
|
||||
$config = new b8\Config($conf);
|
||||
|
||||
if (!defined('APP_URL') && !empty($config)) {
|
||||
if (!defined('APP_URL')) {
|
||||
define('APP_URL', $config->get('php-censor.url', '') . '/');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue