1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15276] Fix code and add phpdoc

PHPBB3-15276
This commit is contained in:
Rubén Calvo
2017-08-28 15:11:12 +02:00
parent 28060a8468
commit da3c9b3de7
4 changed files with 35 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ if (!isset($config['avatar_salt']))
die('database not up to date');
}
if (!isset($config['storage\\avatar\\config\\path']) || $config['storage\\avatar\\config\\path'] != 'phpbb\\storage\\provider\\local')
if (!isset($config['storage\\avatar\\config\\path']) || $config['storage\\avatar\\config\\path'] !== 'phpbb\\storage\\provider\\local')
{
die('use local provider');
}