X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/5d5a08667bdb0d04fc3562f36e8baf04f22f8346..HEAD:/src/phar-stub.php diff --git a/src/phar-stub.php b/src/phar-stub.php index 3b09dd9..5ffe5c7 100644 --- a/src/phar-stub.php +++ b/src/phar-stub.php @@ -5,8 +5,6 @@ * * PHP version 5 * - * @category Tools - * @package shpub * @author Christian Weiske * @copyright 2016 Christian Weiske * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3 @@ -17,7 +15,7 @@ if (!in_array('phar', stream_get_wrappers()) || !class_exists('Phar', false)) { exit(255); } -//Phar::interceptFileFuncs(); +Phar::mapPhar('shpub.phar'); set_include_path( 'phar://' . __FILE__ . PATH_SEPARATOR . 'phar://' . __FILE__ . '/lib/'