projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Ship your dependencies as phars inside the phar
[pharext/pharext]
/
src
/
pharext_packager.php
diff --git
a/src/pharext_packager.php
b/src/pharext_packager.php
index b72da8a123671462421992f50a09007563e07002..125db61bdea9bdda248c463e4e8780aa3327067e 100644
(file)
--- a/
src/pharext_packager.php
+++ b/
src/pharext_packager.php
@@
-3,9
+3,9
@@
* The packager sub-stub for bin/pharext
*/
-
function __autoload
($c) {
+
spl_autoload_register(function
($c) {
return include strtr($c, "\\_", "//") . ".php";
-}
+}
);
$packager = new pharext\Packager();
$packager->run($argc, $argv);