mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
improve readability, kudos @rugk
This commit is contained in:
parent
ff3b668958
commit
df2f5931cd
|
@ -101,7 +101,8 @@ class Configuration
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$config = $basePaths = array();
|
||||
$basePaths = array();
|
||||
$config = array();
|
||||
$configPath = getenv('CONFIG_PATH');
|
||||
if ($configPath !== false && !empty($configPath)) {
|
||||
$basePaths[] = $configPath;
|
||||
|
|
Loading…
Reference in New Issue
Block a user