From fbb2aa1a465c6cc1fbdde95cbdd4e6a42249db01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Sun, 6 Oct 2013 16:38:33 -0200 Subject: [PATCH] Issue #21 PHAR Compiler. --- Mage/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/Compiler.php b/Mage/Compiler.php index 2bd505a..48c0554 100644 --- a/Mage/Compiler.php +++ b/Mage/Compiler.php @@ -38,7 +38,7 @@ class Mage_Compiler $phar->addFromString('mage', str_replace( '$baseDir = dirname(dirname(__FILE__));', '$baseDir = __DIR__;', - file_get_contents(__DIR__.'/../bin/mage.php') + file_get_contents(__DIR__.'/../bin/mage') )); $phar->setStub("#!/usr/bin/env php\n