removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / core / core.get_include_path.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/core/core.get_include_path.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/core/core.get_include_path.php
deleted file mode 100644 (file)
index 855eed3..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-/**\r
- * Get path to file from include_path\r
- *\r
- * @param string $file_path\r
- * @param string $new_file_path\r
- * @return boolean\r
- * @staticvar array|null\r
- */\r
-\r
-//  $file_path, &$new_file_path\r
-\r
-function smarty_core_get_include_path(&$params, &$smarty)\r
-{\r
-    static $_path_array = null;\r
-\r
-    if(!isset($_path_array)) {\r
-        $_ini_include_path = ini_get('include_path');\r
-\r
-        if(strstr($_ini_include_path,';')) {\r
-            // windows pathnames\r
-            $_path_array = explode(';',$_ini_include_path);\r
-        } else {\r
-            $_path_array = explode(':',$_ini_include_path);\r
-        }\r
-    }\r
-    foreach ($_path_array as $_include_path) {\r
-        if (file_exists($_include_path . DIRECTORY_SEPARATOR . $params['file_path'])) {\r
-               $params['new_file_path'] = $_include_path . DIRECTORY_SEPARATOR . $params['file_path'];\r
-            return true;\r
-        }\r
-    }\r
-    return false;\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r