From 2b4f1e07a5cf6892499ab838139ff7cb3ef12a21 Mon Sep 17 00:00:00 2001 From: Eric Stern Date: Sat, 30 Apr 2016 15:04:43 -0700 Subject: [PATCH] Automatically set phar.readonly=0 Rather than forcing users to change their php.ini settings or manually add a CLI flag on every run, set the phar.readonly=0 option in the shebang for box itself. --- box.json.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/box.json.dist b/box.json.dist index 4a094aba..6ff9ba1c 100644 --- a/box.json.dist +++ b/box.json.dist @@ -36,5 +36,6 @@ "replacements": { "manifest_url": "http://box-project.github.io/box2/manifest.json" }, + "shebang": "#!/usr/bin/env php -d phar.readonly=0", "stub": true }