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'
Теги:
get_include_path
Добавлено: 26 Июля 2018 21:15:44 Добавил: Андрей Ковальчук Нравится 0
Добавить
Комментарии:
Нету комментариев для вывода...