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