/** 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); }
/** 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); } }