diff --git a/setup/cli/modules/deploy.php b/setup/cli/modules/deploy.php index 3d959b393815fce5e95305b7d16c82c41f65c91c..06d1a20428a9d012c0544d01e6c539cc900f163a 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",