[icinga-checkins] icinga.org: icinga-web/master: * Removed GlobIterator

git at icinga.org git at icinga.org
Wed Jan 19 11:27:47 CET 2011


Module: icinga-web
Branch: master
Commit: 64ac3736e1128259899a59e9a1ea7df4267d9308
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=64ac3736e1128259899a59e9a1ea7df4267d9308

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Jan 19 10:48:13 2011 +0100

* Removed GlobIterator
* Works again with PHP5.2.6

---

 app/modules/AppKit/models/IconFilesModel.class.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/AppKit/models/IconFilesModel.class.php b/app/modules/AppKit/models/IconFilesModel.class.php
index 0306dbe..4db5110 100755
--- a/app/modules/AppKit/models/IconFilesModel.class.php
+++ b/app/modules/AppKit/models/IconFilesModel.class.php
@@ -42,7 +42,7 @@ class AppKit_IconFilesModel extends AppKitBaseModel implements Countable {
 			. '*'
 			. $s;
 		
-		$files = glob($q, GLOB_NOSORT);
+		$files = glob($q);
 		
 		foreach ($files as $file) {
 			$name = basename($file, $s);
@@ -68,4 +68,4 @@ class AppKit_IconFilesModel extends AppKitBaseModel implements Countable {
 	}
 }
 
-?>
\ No newline at end of file
+?>





More information about the icinga-checkins mailing list