From 5fdb54c9ec2a38da25408a492ec6ae0f3cce404b Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 23 May 2012 11:35:30 +0100 Subject: [PATCH] missed a couple of big globs --- ext/simpletest/main.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/simpletest/main.php b/ext/simpletest/main.php index cedba90d..7f44c8e9 100644 --- a/ext/simpletest/main.php +++ b/ext/simpletest/main.php @@ -200,7 +200,7 @@ class TestFinder extends TestSuite { $dir = "{".ENABLED_EXTS."}"; if(file_exists("ext/$hint/test.php")) $dir = $hint; $this->TestSuite('All tests'); - foreach(glob("ext/$dir/test.php", GLOB_BRACE) as $file) { + foreach(zglob("ext/$dir/test.php") as $file) { $this->addFile($file); } } diff --git a/index.php b/index.php index 5778e931..5f1ac93f 100644 --- a/index.php +++ b/index.php @@ -67,7 +67,7 @@ _start_cache(); try { // load base files ctx_log_start("Opening files"); - $files = array_merge(glob("core/*.php"), glob("ext/{".ENABLED_EXTS."}/main.php", GLOB_BRACE)); + $files = array_merge(zglob("core/*.php"), zglob("ext/{".ENABLED_EXTS."}/main.php")); foreach($files as $filename) { require_once $filename; }