From f0d03207a648175d7c4fa2cac79086119319e439 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 02:58:55 +0000 Subject: [PATCH] MINOR: Better checking of safe_mode in MemoryLimitTest (from r106187) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112524 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/MemoryLimitTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/MemoryLimitTest.php b/tests/MemoryLimitTest.php index cbb60c705..6ae15d27c 100644 --- a/tests/MemoryLimitTest.php +++ b/tests/MemoryLimitTest.php @@ -84,7 +84,7 @@ class MemoryLimitTest extends SapphireTest { if(in_array('suhosin', $exts)) return false; // We can't change memory limit in safe mode - if(strtolower(ini_get('safe_mode')) == 'on') return false; + if(ini_get('safe_mode')) return false; return true; }