|
|
|
@ -64,7 +64,7 @@ class PharArchive {
|
|
|
|
|
$phar['/index.php'] = "<?php require __DIR__ . '/public/index.php';";
|
|
|
|
|
|
|
|
|
|
foreach ($this->getPhpFiles() as $file) {
|
|
|
|
|
$_file = str_replace($this->sourceDirectory . '/', '', $file);
|
|
|
|
|
$_file = str_replace($this->sourceDirectory . DIRECTORY_SEPARATOR, '', $file);
|
|
|
|
|
$phar[$_file] = $this->stripWhitespacePhpFile(file_get_contents($file));
|
|
|
|
|
$phar[$_file]->compress(\Phar::GZ);
|
|
|
|
|
}
|
|
|
|
|