diff --git a/README.md b/README.md index aeb33f7..f6315f0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Install Adminer with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=adminer)
-Shipped Version: **4.7.0** +Shipped Version: **4.7.1** Adminer (formerly phpMinAdmin better alternate to phpmyadmin) is a full-featured database management tool written in PHP.
http://www.adminer.org


diff --git a/manifest.json b/manifest.json index c9292f7..5aef2f3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Database management in a single PHP file", "fr": "Gestionnaire de base de données en un seul fichier PHP" }, - "version": "4.7.0", + "version": "4.7.1", "url": "https://www.adminer.org/", "license": "free", "maintainer": { diff --git a/sources/root_access_disabled/adminer.php b/sources/root_access_disabled/adminer.php index bd8f71b..1a9bd32 100644 --- a/sources/root_access_disabled/adminer.php +++ b/sources/root_access_disabled/adminer.php @@ -5,23 +5,23 @@ * @copyright 2007 Jakub Vrana * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) -* @version 4.7.0 -*/error_reporting(6135);$Wc=!preg_match('~^(unsafe_raw)?$~',ini_get("filter.default"));if($Wc||ini_get("filter.default_flags")){foreach(array('_GET','_POST','_COOKIE','_SERVER')as$X){$Hi=filter_input_array(constant("INPUT$X"),FILTER_UNSAFE_RAW);if($Hi)$$X=$Hi;}}if(function_exists("mb_internal_encoding"))mb_internal_encoding("8bit");function +* @version 4.7.1 +*/error_reporting(6135);$Vc=!preg_match('~^(unsafe_raw)?$~',ini_get("filter.default"));if($Vc||ini_get("filter.default_flags")){foreach(array('_GET','_POST','_COOKIE','_SERVER')as$X){$Hi=filter_input_array(constant("INPUT$X"),FILTER_UNSAFE_RAW);if($Hi)$$X=$Hi;}}if(function_exists("mb_internal_encoding"))mb_internal_encoding("8bit");function connection(){global$h;return$h;}function adminer(){global$b;return$b;}function version(){global$ia;return$ia;}function -idf_unescape($v){$pe=substr($v,-1);return -str_replace($pe.$pe,$pe,substr($v,1,-1));}function +idf_unescape($v){$oe=substr($v,-1);return +str_replace($oe.$oe,$oe,substr($v,1,-1));}function escape_string($X){return substr(q($X),1,-1);}function number($X){return preg_replace('~[^0-9]+~','',$X);}function number_type(){return'((?$W){unset($rg[$z][$ee]);if(is_array($W)){$rg[$z][stripslashes($ee)]=$W;$rg[]=&$rg[$z][stripslashes($ee)];}else$rg[$z][stripslashes($ee)]=($Wc?$W:stripslashes($W));}}}}function +remove_slashes($qg,$Vc=false){if(get_magic_quotes_gpc()){while(list($z,$X)=each($qg)){foreach($X +as$de=>$W){unset($qg[$z][$de]);if(is_array($W)){$qg[$z][stripslashes($de)]=$W;$qg[]=&$qg[$z][stripslashes($de)];}else$qg[$z][stripslashes($de)]=($Vc?$W:stripslashes($W));}}}}function bracket_escape($v,$Oa=false){static$ti=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($v,($Oa?array_flip($ti):$ti));}function -min_version($Yi,$De="",$i=null){global$h;if(!$i)$i=$h;$mh=$i->server_info;if($De&&preg_match('~([\d.]+)-MariaDB~',$mh,$B)){$mh=$B[1];$Yi=$De;}return(version_compare($mh,$Yi)>=0);}function +min_version($Yi,$Ce="",$i=null){global$h;if(!$i)$i=$h;$lh=$i->server_info;if($Ce&&preg_match('~([\d.]+)-MariaDB~',$lh,$B)){$lh=$B[1];$Yi=$Ce;}return(version_compare($lh,$Yi)>=0);}function charset($h){return(min_version("5.5.3",0,$h)?"utf8mb4":"utf8");}function script($wh,$si="\n"){return"$wh$si";}function script_src($Mi){return"\n";}function @@ -31,29 +31,29 @@ h($P){return str_replace("\0","�",htmlspecialchars($P,ENT_QUOTES,'utf-8'));}function nl_br($P){return str_replace("\n","
",$P);}function -checkbox($C,$Y,$fb,$le="",$tf="",$kb="",$me=""){$I="".($tf?script("qsl('input').onclick = function () { $tf };",""):"");return($le!=""||$kb?"$I".h($le)."":$I);}function -optionlist($zf,$gh=null,$Qi=false){$I="";foreach($zf -as$ee=>$W){$_f=array($ee=>$W);if(is_array($W)){$I.='';$_f=$W;}foreach($_f -as$z=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function -html_select($C,$zf,$Y="",$sf=true,$me=""){if($sf)return"".(is_string($sf)?script("qsl('select').onchange = function () { $sf };",""):"");$I="";foreach($zf +checkbox($C,$Y,$fb,$ke="",$sf="",$kb="",$le=""){$I="".($sf?script("qsl('input').onclick = function () { $sf };",""):"");return($ke!=""||$kb?"$I".h($ke)."":$I);}function +optionlist($yf,$fh=null,$Qi=false){$I="";foreach($yf +as$de=>$W){$zf=array($de=>$W);if(is_array($W)){$I.='';$zf=$W;}foreach($zf +as$z=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function +html_select($C,$yf,$Y="",$rf=true,$le=""){if($rf)return"".(is_string($rf)?script("qsl('select').onchange = function () { $rf };",""):"");$I="";foreach($yf as$z=>$X)$I.="";return$I;}function -select_input($Ka,$zf,$Y="",$sf="",$dg=""){$Xh=($zf?"select":"input");return"<$Xh$Ka".($zf?">