JavaScript get_include_path function
A JavaScript equivalent of PHP’s get_include_path
function get_include_path () {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// * example 1: get_include_path();
// * returns 1: '/phpjs'
if (this.php_js && this.php_js.ini && this.php_js.ini.include_path && this.php_js.ini.include_path.local_value) {
return this.php_js.ini.include_path.local_value;
}
return '';
}
Example 1
get_include_path();
Should return
'/phpjs'
Комментарии:
Нету комментариев для вывода...