mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: #3644 - _ss_environment.php search creates open_basedir error (ed)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@72457 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
dd6ff797e2
commit
7684133012
@ -28,7 +28,7 @@ error_reporting(E_ALL);
|
||||
*/
|
||||
$envFiles = array('../_ss_environment.php', '../../_ss_environment.php', '../../../_ss_environment.php');
|
||||
foreach($envFiles as $envFile) {
|
||||
if(file_exists($envFile)) {
|
||||
if(@file_exists($envFile)) {
|
||||
define('SS_ENVIRONMENT_FILE', $envFile);
|
||||
include_once($envFile);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user