Begin Refactor

This commit is contained in:
color.diff=auto
2021-03-21 13:47:29 -06:00
parent 7622dc0d02
commit 018931d7ae
197 changed files with 47799 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
<?php
echo "Running Patch P533...";
echo PHP_EOL;
$code = file_get_contents('rb.php');
$code = str_replace('&offsetGet', 'offsetGet', $code);
$bytes = file_put_contents('rb-p533.php', $code);
if ($bytes > 0) {
echo 'Applied patch for PHP < 5.3.3';
echo PHP_EOL;
exit;
} else {
echo 'Somthing went wrong.';
echo PHP_EOL;
exit;
}