diff --git a/config/phpmyadmin/vendor_config.php b/config/phpmyadmin/vendor_config.php index 379dd16..11eecab 100644 --- a/config/phpmyadmin/vendor_config.php +++ b/config/phpmyadmin/vendor_config.php @@ -1,90 +1,79 @@ ROOT_PATH . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php', -/** - * Path to changelog file, can be gzip compressed. Useful when you want to - * have documentation somewhere else, eg. /usr/share/doc. - */ -define('CHANGELOG_FILE', './ChangeLog'); + /** + * Directory where cache files are stored. + */ + 'tempDir' => ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR, -/** - * Path to license file. Useful when you want to have documentation somewhere - * else, eg. /usr/share/doc. - */ -define('LICENSE_FILE', './LICENSE'); + /** + * Path to changelog file, can be gzip compressed. + * Useful when you want to have documentation somewhere else, e.g. /usr/share/doc. + */ + 'changeLogFile' => ROOT_PATH . 'ChangeLog', -/** - * Directory where SQL scripts to create/upgrade configuration storage reside. - */ -define('SQL_DIR', './sql/'); + /** + * Path to license file. Useful when you want to have documentation somewhere else, e.g. /usr/share/doc. + */ + 'licenseFile' => ROOT_PATH . 'LICENSE', -/** - * Directory where configuration files are stored. - * It is not used directly in code, just a convenient - * define used further in this file. - */ -define('CONFIG_DIR', '/etc/phpmyadmin/'); + /** + * Directory where SQL scripts to create/upgrade configuration storage reside. + */ + 'sqlDir' => ROOT_PATH . 'sql' . DIRECTORY_SEPARATOR, -/** - * Filename of a configuration file. - */ -define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php'); + /** + * Filename of a configuration file. + */ + 'configFile' => CONFIG_PATH . 'config.inc.php', -/** - * Filename of custom header file. - */ -define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php'); + /** + * Filename of custom header file. + */ + 'customHeaderFile' => CONFIG_PATH . 'config.header.inc.php', -/** - * Filename of custom footer file. - */ -define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php'); + /** + * Filename of custom footer file. + */ + 'customFooterFile' => CONFIG_PATH . 'config.footer.inc.php', -/** - * Default value for check for version upgrades. - */ -define('VERSION_CHECK_DEFAULT', true); + /** + * Default value for check for version upgrades. + */ + 'versionCheckDefault' => true, -/** - * Path to files with compiled locales (*.mo) - */ -define('LOCALE_PATH', './locale/'); + /** + * Path to files with compiled locales (*.mo) + */ + 'localePath' => ROOT_PATH . 'locale' . DIRECTORY_SEPARATOR, -/** - * Avoid referring to nonexistent files (causes warnings when open_basedir - * is used) - */ -define('K_PATH_IMAGES', ''); + /** + * Define the cache directory for routing cache and other cache files + */ + 'cacheDir' => ROOT_PATH . 'libraries' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR, -/** - * Define the cache directory for routing cache an other cache files - */ -define('CACHE_DIR', ROOT_PATH . 'libraries' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR); - -/** - * Suffix to add to the phpMyAdmin version - */ -define('VERSION_SUFFIX', ''); \ No newline at end of file + /** + * Suffix to add to the phpMyAdmin version + */ + 'versionSuffix' => '', +]; \ No newline at end of file