PEEL Shopping
Open source ecommerce : PEEL Shopping
smarty_internal_get_include_path.php
Go to the documentation of this file.
1 <?php
17 
24  public static function getIncludePath($filepath)
25  {
26  static $_include_path = null;
27 
28  if (function_exists('stream_resolve_include_path')) {
29  // available since PHP 5.3.2
30  return stream_resolve_include_path($filepath);
31  }
32 
33  if ($_include_path === null) {
34  $_include_path = explode(PATH_SEPARATOR, get_include_path());
35  }
36 
37  foreach ($_include_path as $_path) {
38  if (file_exists($_path . DS . $filepath)) {
39  return $_path . DS . $filepath;
40  }
41  }
42 
43  return false;
44  }
45 
46 }
47 
48 ?>
static getIncludePath($filepath)
Return full file path from PHP include_path.

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:17 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.