Skip to content

Commit

Permalink
Add phar mapping call to phar template code to allow for renaming of …
Browse files Browse the repository at this point in the history
…generated phars
  • Loading branch information
theseer committed Dec 2, 2012
1 parent 0ade5a2 commit 1a54104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/templates/ci/phar.php.tpl
Expand Up @@ -13,4 +13,5 @@ spl_autoload_register(
}
}
);
__HALT_COMPILER();
Phar::mapPhar('___PHAR___');
__HALT_COMPILER();
3 changes: 2 additions & 1 deletion src/templates/cs/phar.php.tpl
Expand Up @@ -12,4 +12,5 @@ spl_autoload_register(
}
}
);
__HALT_COMPILER();
Phar::mapPhar('___PHAR___');
__HALT_COMPILER();

0 comments on commit 1a54104

Please sign in to comment.