diff --git a/README.md b/README.md index 659ce02..f1ae93b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -

Adminer for Yunohost

-

Version 4.6.2
+# Adminer for Yunohost +Shipped Version: **4.6.3** Adminer (formerly phpMinAdmin better alternate to phpmyadmin) is a full-featured database management tool written in PHP.
http://www.adminer.org


-You need to know the root password or the app username and password to login. Root password is in /etc/yunohost/mysql and the apps username and password are in setting.yml under /etc/yunohost/apps/appname.
+You need to know the root password from here /etc/yunohost/mysql or the app username and password from setting.yml under /etc/yunohost/apps/appname to login.
For themes download the adminer.css from the main website and put the file in the app folder.
If you have problems with drivers see here: https://www.adminer.org/en/drivers.
@@ -15,4 +15,5 @@ If you have problems with drivers see here: https://www.adminer.org/en/drivers.< - [X] Installation and remove script. - [X] Upgrade script - [X] Backup and restore script. +- [ ] Check hash for source - [ ] Option to add admin user access if the app is not piblic. diff --git a/manifest.json b/manifest.json index 5a7e5e5..f1ae1a4 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.6.2", + "version": "4.6.3", "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 ceaf01a..2f9f265 100644 --- a/sources/root_access_disabled/adminer.php +++ b/sources/root_access_disabled/adminer.php @@ -5,208 +5,207 @@ * @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.6.2 -*/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){$_i=filter_input_array(constant("INPUT$X"),FILTER_UNSAFE_RAW);if($_i)$$X=$_i;}}if(function_exists("mb_internal_encoding"))mb_internal_encoding("8bit");function +* @version 4.6.3 +*/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){$Di=filter_input_array(constant("INPUT$X"),FILTER_UNSAFE_RAW);if($Di)$$X=$Di;}}if(function_exists("mb_internal_encoding"))mb_internal_encoding("8bit");function connection(){global$g;return$g;}function adminer(){global$b;return$b;}function version(){global$ia;return$ia;}function -idf_unescape($v){$je=substr($v,-1);return -str_replace($je.$je,$je,substr($v,1,-1));}function +idf_unescape($u){$ne=substr($u,-1);return +str_replace($ne.$ne,$ne,substr($u,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($jg[$z][$Yd]);if(is_array($W)){$jg[$z][stripslashes($Yd)]=$W;$jg[]=&$jg[$z][stripslashes($Yd)];}else$jg[$z][stripslashes($Yd)]=($Vc?$W:stripslashes($W));}}}}function -bracket_escape($v,$Oa=false){static$ki=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return -strtr($v,($Oa?array_flip($ki):$ki));}function -min_version($Qi,$xe="",$h=null){global$g;if(!$h)$h=$g;$eh=$h->server_info;if($xe&&preg_match('~([\d.]+)-MariaDB~',$eh,$C)){$eh=$C[1];$Qi=$xe;}return(version_compare($eh,$Qi)>=0);}function +remove_slashes($ng,$Wc=false){if(get_magic_quotes_gpc()){while(list($y,$X)=each($ng)){foreach($X +as$ce=>$W){unset($ng[$y][$ce]);if(is_array($W)){$ng[$y][stripslashes($ce)]=$W;$ng[]=&$ng[$y][stripslashes($ce)];}else$ng[$y][stripslashes($ce)]=($Wc?$W:stripslashes($W));}}}}function +bracket_escape($u,$Oa=false){static$oi=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return +strtr($u,($Oa?array_flip($oi):$oi));}function +min_version($Ui,$Ae="",$h=null){global$g;if(!$h)$h=$g;$ih=$h->server_info;if($Ae&&preg_match('~([\d.]+)-MariaDB~',$ih,$B)){$ih=$B[1];$Ui=$Ae;}return(version_compare($ih,$Ui)>=0);}function charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function -script($nh,$ji="\n"){return"$nh$ji";}function -script_src($Ei){return"\n";}function +script($sh,$ni="\n"){return"$sh$ni";}function +script_src($Ii){return"\n";}function nonce(){return' nonce="'.get_nonce().'"';}function target_blank(){return' target="_blank" rel="noreferrer noopener"';}function h($Q){return str_replace("\0","�",htmlspecialchars($Q,ENT_QUOTES,'utf-8'));}function -nbsp($Q){return(trim($Q)!=""?h($Q):" ");}function nl_br($Q){return str_replace("\n","
",$Q);}function -checkbox($D,$Y,$fb,$fe="",$lf="",$kb="",$ge=""){$J="".($lf?script("qsl('input').onclick = function () { $lf };",""):"");return($fe!=""||$kb?"$J".h($fe)."":$J);}function -optionlist($rf,$Yg=null,$Ii=false){$J="";foreach($rf -as$Yd=>$W){$sf=array($Yd=>$W);if(is_array($W)){$J.='';$sf=$W;}foreach($sf -as$z=>$X)$J.=''.h($X);if(is_array($W))$J.='';}return$J;}function -html_select($D,$rf,$Y="",$kf=true,$ge=""){if($kf)return"".(is_string($kf)?script("qsl('select').onchange = function () { $kf };",""):"");$J="";foreach($rf -as$z=>$X)$J.="";return$J;}function -select_input($Ka,$rf,$Y="",$kf="",$Vf=""){$Oh=($rf?"select":"input");return"<$Oh$Ka".($rf?">