Commit 6e07f9eb authored by Bas de Nooijer's avatar Bas de Nooijer

Merge remote-tracking branch 'jaytaph/phar' into develop

parents c574e8c0 fc23e053
The buildphar.php will generate a solarium.phar PHAR file that is ready for distribution.
<?php
// Create a new htrouter phar file
@unlink('solarium.phar');
$phar = new Phar('solarium.phar', 0, 'solarium.phar');
$phar->setStub(file_get_contents("stub.php"));
$basePath = realpath(__DIR__."/../library/Solarium");
$phar->buildFromDirectory($basePath, '/\.php$/');
<?php
Phar::mapPhar("solarium.phar");
require_once 'phar://solarium.phar/Autoloader.php';
Solarium_Autoloader::register();
__HALT_COMPILER();
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment