Skip to content
Snippets Groups Projects
Commit b11b5282 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix deploy adding 0x01 byte to bootstrap.php

parent 8cc11534
Branches
Tags
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment