コード例 #1
0
ファイル: initlib.php プロジェクト: noikiy/owaspbwa
 /** Append $path to the include path
  * \static
  */
 function appendIncludePath($path)
 {
     $include_path = ini_get('include_path');
     if ($include_path) {
         $include_path .= TikiInit::pathSeparator() . $path;
     } else {
         $include_path = $path;
     }
     return ini_set('include_path', $include_path);
 }
コード例 #2
0
 /** Append $path to the include path
  * \static
  */
 function appendIncludePath($path)
 {
     $include_path = ini_get('include_path');
     if ($include_path) {
         $include_path .= TikiInit::pathSeparator() . $path;
     } else {
         $include_path = $path;
     }
     if (phpversion() >= '4.3') {
         return set_include_path($include_path);
     } else {
         return ini_set('include_path', $include_path);
     }
 }