|
|
|
@ -60,7 +60,7 @@ class PharArchive {
|
|
|
|
|
$phar->startBuffering();
|
|
|
|
|
$phar->setStub(file_get_contents($this->sourceDirectory . '/phar/stub.php'));
|
|
|
|
|
$phar['/version.php'] = "<?php return '$version';";
|
|
|
|
|
$phar['/index.php'] = "<?php require 'public/index.php';";
|
|
|
|
|
$phar['/index.php'] = "<?php require __DIR__ . '/public/index.php';";
|
|
|
|
|
|
|
|
|
|
foreach ($this->getPhpFiles() as $file) {
|
|
|
|
|
$_file = str_replace($this->sourceDirectory . '/', '', $file);
|
|
|
|
|