From b11b5282408f5603ae4d2e0f9e9ca723593c37ec Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Fri, 16 May 2014 14:13:35 -0500 Subject: [PATCH] oops: Fix deploy adding 0x01 byte to bootstrap.php --- setup/cli/modules/deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/cli/modules/deploy.php b/setup/cli/modules/deploy.php index 3d959b393..06d1a2042 100644 --- a/setup/cli/modules/deploy.php +++ b/setup/cli/modules/deploy.php @@ -114,7 +114,7 @@ class Deployment extends Unpacker { $source); // Set THIS_VERSION $source = preg_replace("/^(\s*)define\s*\(\s*'THIS_VERSION'.*$/m", - "\1define('THIS_VERSION', '".$version."'); // Set by installer", + "$1define('THIS_VERSION', '".$version."'); // Set by installer", $source); // Disable error display $source = preg_replace("/^(\s*)ini_set\s*\(\s*'(display_errors|display_startup_errors)'.*$/m", -- GitLab