We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6dc627 commit 88fcac1Copy full SHA for 88fcac1
scripts/phar-generator-script.php
@@ -49,6 +49,12 @@
49
* @version $version
50
* @license MIT
51
*/
52
+if (! class_exists('Phar')) {
53
+ echo 'You seem to be missing the Phar extension' . PHP_EOL;
54
+ echo 'Please read: https://stackoverflow.com/a/8851170/5155484 to find a solution' . PHP_EOL;
55
+ echo 'You can also ask for help on https://github.com/code-lts/doctum/issues if you think this is bug' . PHP_EOL;
56
+ exit(1);
57
+}
58
Phar::interceptFileFuncs();
59
Phar::mapPhar('$pharAlias');
60
include 'phar://' . __FILE__ . '/bin/doctum-binary.php';
0 commit comments