      }
    }
    // }}}
-@@ -428,7 +519,6 @@
+@@ -428,7 +517,6 @@
      ? getenv('SKELETON_PATH')
      : dirname(__FILE__).DIRECTORY_SEPARATOR
    ));

+    $include= &xp::registry('include_path');
+
+    if (0 == sizeof($include)) {
+      $include= array();
+      /*foreach (array_flip(explode(':', ini_get('include_path'))) as $part => $dummy) {
+        if (FALSE !== ($p= realpath($part))) {
+          $include[$p]= FALSE;
+        }
+      }*/
+      $include= array_flip(explode(':', ini_get('include_path')));
+      
+      xp::registry('include_path', $include);
+    }
+    
     foreach (func_get_args() as $str) {
       if (class_exists($class= xp::reflect($str))) continue;
 
@@ -245,17 +307,46 @@
         }
         $str= substr($str, strrpos($str, '/')+ 1);
         $class= xp::reflect($str);

+        
+        continue;
+      }
+
+
+      foreach ($include as $path => $loader) {
+
