From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/info/ini_get.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 node_modules/locutus/php/info/ini_get.js (limited to 'node_modules/locutus/php/info/ini_get.js') diff --git a/node_modules/locutus/php/info/ini_get.js b/node_modules/locutus/php/info/ini_get.js deleted file mode 100644 index 4a4f052..0000000 --- a/node_modules/locutus/php/info/ini_get.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -module.exports = function ini_get(varname) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/ini_get/ - // original by: Brett Zamir (http://brett-zamir.me) - // note 1: The ini values must be set by ini_set or manually within an ini file - // example 1: ini_set('date.timezone', 'Asia/Hong_Kong') - // example 1: ini_get('date.timezone') - // returns 1: 'Asia/Hong_Kong' - - var $global = typeof window !== 'undefined' ? window : global; - $global.$locutus = $global.$locutus || {}; - var $locutus = $global.$locutus; - $locutus.php = $locutus.php || {}; - $locutus.php.ini = $locutus.php.ini || {}; - - if ($locutus.php.ini[varname] && $locutus.php.ini[varname].local_value !== undefined) { - if ($locutus.php.ini[varname].local_value === null) { - return ''; - } - return $locutus.php.ini[varname].local_value; - } - - return ''; -}; -//# sourceMappingURL=ini_get.js.map \ No newline at end of file -- cgit v1.2.3