Browse files

Add phar mapping call to phar template code to allow for renaming of …

…generated phars
  • Loading branch information...
1 parent 0ade5a2 commit 1a54104464f872d968c507c25e56fd06509287a9 @theseer committed Dec 2, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/templates/ci/phar.php.tpl
  2. +2 −1 src/templates/cs/phar.php.tpl
View
3 src/templates/ci/phar.php.tpl
@@ -13,4 +13,5 @@ spl_autoload_register(
}
}
);
-__HALT_COMPILER();
+Phar::mapPhar('___PHAR___');
+__HALT_COMPILER();
View
3 src/templates/cs/phar.php.tpl
@@ -12,4 +12,5 @@ spl_autoload_register(
}
}
);
-__HALT_COMPILER();
+Phar::mapPhar('___PHAR___');
+__HALT_COMPILER();

0 comments on commit 1a54104

Please sign in to comment.