[limb-svn] r6562 - 3.x/trunk/limb/core

svn at limb-project.com svn at limb-project.com
Mon Dec 3 15:03:25 MSK 2007


Author: pachanga
Date: 2007-12-03 15:03:25 +0300 (Mon, 03 Dec 2007)
New Revision: 6562
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6562

Modified:
   3.x/trunk/limb/core/common.inc.php
Log:
-- adding support for future stream_resolve_include_path

Modified: 3.x/trunk/limb/core/common.inc.php
===================================================================
--- 3.x/trunk/limb/core/common.inc.php	2007-12-03 11:56:54 UTC (rev 6561)
+++ 3.x/trunk/limb/core/common.inc.php	2007-12-03 12:03:25 UTC (rev 6562)
@@ -15,7 +15,9 @@
 
 function lmb_resolve_include_path($path)
 {
-  //this will be replaced with stream_resolve_include_path() in the future versions of PHP
+  if(function_exists('stream_resolve_include_path'))
+    return stream_resolve_include_path($path);
+
   foreach(lmb_get_include_path_items() as $dir)
   {
     $full_path = "$dir/$path";



More information about the limb-svn mailing list