4 * Phar stub file for shpub. Handles startup of the .phar file.
8 * @author Christian Weiske <cweiske@cweiske.de>
9 * @copyright 2016 Christian Weiske
10 * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3
11 * @link http://cweiske.de/shpub.htm
13 if (!in_array('phar', stream_get_wrappers()) || !class_exists('Phar', false)) {
14 echo "Phar extension not avaiable\n";
18 //Phar::interceptFileFuncs();
21 . PATH_SEPARATOR . 'phar://' . __FILE__ . '/lib/'
24 require 'phar://' . __FILE__ . '/bin/phar-shpub.php';