document content-from-file
[shpub.git] / src / phar-stub.php
index 3b09dd99f8f81c25fc6491544787bbfa867cb246..5ffe5c7adb9aa636aa8f9d94cff02d2040525cf1 100644 (file)
@@ -5,8 +5,6 @@
  *
  * PHP version 5
  *
- * @category  Tools
- * @package   shpub
  * @author    Christian Weiske <cweiske@cweiske.de>
  * @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/'