Skip to content

Commit 47b1f60

Browse files
committed
Made AppLoader PHP 8.4 compatible and updated phpMyAdmin download link. Updated default package-downloads compatibility information
1 parent 323b3fd commit 47b1f60

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

AppLoader/index.php

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
*
1010
*
1111
* @author Christian Knerr
12-
* @version 1.0.5
12+
* @version 1.1.0
1313
* @package AppLoader
14-
* @copyright (c)2023 CBACK Software
14+
* @copyright (c)2025 CBACK Software
1515
* @link https://cback.net
1616
* @license MIT License
1717
*
@@ -44,9 +44,9 @@ class CBACKAppLoader
4444
* @access private
4545
*/
4646
private $appDownloads = array(
47-
array('phpMyAdmin 5 (for PHP >= 7.1)', 'pma5', 'https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.zip'),
47+
array('phpMyAdmin 5 (for PHP 7.2 - 8.3)', 'pma5', 'https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.zip'),
4848
array('phpMyAdmin 4 (for PHP 5.5 - 7.4)', 'pma4', 'https://files.phpmyadmin.net/phpMyAdmin/4.9.7/phpMyAdmin-4.9.7-all-languages.zip'),
49-
array('MySQLDumper (for PHP 5.5 - 7.x)', 'msd', 'https://github.com/DSB/MySQLDumper/archive/master.zip')
49+
array('MySQLDumper (deprecated / for PHP 5.5 - 7.x)', 'msd', 'https://github.com/DSB/MySQLDumper/archive/master.zip')
5050
);
5151

5252
/**
@@ -514,15 +514,8 @@ public function htaccess_generator()
514514
// 2. Locale & UTF8 ... to prevent warnings or problems with the content encoding in the browser
515515
// 3. Set Timezone ... again just to prevent strict warnings, we don't really need timezone stuff in this script
516516
//
517-
$genErrLevel = -1;
518517
if ( !defined('E_DEPRECATED') ) { define('E_DEPRECATED', 8192); }
519-
$genErrLevel = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
520-
if ( version_compare(PHP_VERSION, '5.4.0-dev', '>=') )
521-
{
522-
if ( !defined('E_STRICT') ) { define('E_STRICT', 2048); }
523-
$genErrLevel &= ~E_STRICT;
524-
}
525-
error_reporting($genErrLevel);
518+
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
526519

527520
@setlocale(LC_CTYPE, 'de_DE.utf8', 'de_DE.UTF-8', 'en_US.utf8', 'en_US.UTF-8', 'en_GB.utf8', 'en_GB.UTF-8', 'de_AT.utf8', 'de_AT.UTF-8', 'de_CH.utf8', 'de_CH.UTF-8');
528521
if( function_exists('mb_internal_encoding') )

0 commit comments

Comments
 (0)