Removing redundant var declaration

This commit is contained in:
Daniel Hensby 2015-02-16 07:56:04 +00:00
parent 1879b2ecf6
commit 9e600e9e0c

View File

@ -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']);