1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-05 14:17:26 +02:00

php_shrink: Move add_apo_slashes to compile.php

This commit is contained in:
Jakub Vrana
2025-03-15 09:10:43 +01:00
parent e0283543f3
commit c99ca863ce
3 changed files with 9 additions and 6 deletions

View File

@@ -5,6 +5,10 @@ include __DIR__ . "/adminer/include/errors.inc.php";
include __DIR__ . "/php_shrink.inc.php";
include __DIR__ . "/externals/JsShrink/jsShrink.php";
function add_apo_slashes($s) {
return addcslashes($s, "\\'");
}
function add_quo_slashes($s) {
$return = $s;
$return = addcslashes($return, "\n\r\$\"\\");