Skip to content

Commit 673ee94

Browse files
committed
more phar junk
1 parent 2997d00 commit 673ee94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/phar/build_precommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
);
2828

2929
foreach($classes as $name) {
30-
echo "if (!class_exists('$name', 0))\n{\n";
30+
echo "if (!class_exists('$name', false))\n{\n";
3131
$f = file(dirname(__FILE__) . '/phar/' . strtolower($name) . '.inc');
3232
unset($f[0]);
3333
$c = count($f);

ext/phar/shortarc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$web = '000';
44

5-
if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', 0)) {
5+
if (in_array('phar', stream_get_wrappers()) && class_exists('Phar', false)) {
66
Phar::interceptFileFuncs();
77
set_include_path('phar://' . __FILE__ . PATH_SEPARATOR . get_include_path());
88
Phar::webPhar(null, $web);

0 commit comments

Comments
 (0)