mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removing redundant var declaration
This commit is contained in:
parent
1879b2ecf6
commit
9e600e9e0c
@ -31,9 +31,8 @@ if(function_exists('session_start') && !session_id()) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
require_once FRAMEWORK_NAME . '/core/Constants.php'; // this also includes TempPath.php
|
||||
require_once FRAMEWORK_NAME . '/core/Constants.php'; // this also includes TempPath.php;
|
||||
|
||||
$usingEnv = false;
|
||||
$envFileExists = defined('SS_ENVIRONMENT_FILE');
|
||||
$usingEnv = $envFileExists && !empty($_REQUEST['useEnv']);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user