Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 211 Bytes
<?php
$stub =
'<?php
require_once "phar://ciphp.phar/App/App.php";
__HALT_COMPILER();
?>';
$phar = new Phar($argv[1]);
$phar->setAlias('ciphp.phar');
$phar->buildFromDirectory($argv[2]);
$phar->setStub($stub);