Merge pull request #12974 from ibennetch/autoload-error-QA_4_7
Better error message when Composer files are missing.
This commit is contained in:
commit
049382b813
@ -59,6 +59,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #12954 Fixed export of tracking data
|
||||
- issue #12960 Enclose exports in transaction by default
|
||||
- issue #12966 After adding a column ADD INDEX option won't be displayed when enabling AI
|
||||
- issue #12972 Better error message when Composer has not been run
|
||||
|
||||
4.6.6 (2017-01-23)
|
||||
- issue #12759 Fix Notice regarding 'Undefined index: old_usergroup'
|
||||
|
||||
@ -75,6 +75,13 @@ require_once './libraries/vendor_config.php';
|
||||
/**
|
||||
* Activate autoloader
|
||||
*/
|
||||
if (! @is_readable('./vendor/autoload.php')) {
|
||||
die(
|
||||
'File <tt>./vendor/autoload.php</tt> missing or not readable. <br />'
|
||||
. 'Most likely you did not run Composer to '
|
||||
. '<a href="https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git">install library files</a>.'
|
||||
);
|
||||
}
|
||||
require_once './vendor/autoload.php';
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user