Replaced func_get_args() by ...$params (PHP 5.6+).

This commit is contained in:
Dmitry Khomutov 2018-03-02 23:59:35 +07:00
commit 5d9b56d194
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
3 changed files with 18 additions and 14 deletions

View file

@ -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', '') . '/');
}