aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/libraries/vendor_config.php
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-09 10:55:03 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-09 13:09:38 +0100
commit04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch)
tree5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/libraries/vendor_config.php
parent7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff)
downloadft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/libraries/vendor_config.php')
-rw-r--r--srcs/phpmyadmin/libraries/vendor_config.php82
1 files changed, 82 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/libraries/vendor_config.php b/srcs/phpmyadmin/libraries/vendor_config.php
new file mode 100644
index 0000000..6698210
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/vendor_config.php
@@ -0,0 +1,82 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * File for vendor customisation, you can change here paths or some behaviour,
+ * which vendors such as Linux distributions might want to change.
+ *
+ * For changing this file you should know what you are doing. For this reason
+ * options here are not part of normal configuration.
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/**
+ * Path to vendor autoload file. Useful when you want to
+ * have have vendor dependencies somewhere else.
+ */
+define('AUTOLOAD_FILE', ROOT_PATH . 'vendor/autoload.php');
+
+/**
+ * Directory where cache files are stored.
+ */
+define('TEMP_DIR', ROOT_PATH . 'tmp/');
+
+/**
+ * Path to changelog file, can be gzip compressed. Useful when you want to
+ * have documentation somewhere else, eg. /usr/share/doc.
+ */
+define('CHANGELOG_FILE', ROOT_PATH . 'ChangeLog');
+
+/**
+ * Path to license file. Useful when you want to have documentation somewhere
+ * else, eg. /usr/share/doc.
+ */
+define('LICENSE_FILE', ROOT_PATH . 'LICENSE');
+
+/**
+ * Directory where SQL scripts to create/upgrade configuration storage reside.
+ */
+define('SQL_DIR', ROOT_PATH . 'sql/');
+
+/**
+ * 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', ROOT_PATH);
+
+/**
+ * Filename of a configuration file.
+ */
+define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
+
+/**
+ * Filename of custom header file.
+ */
+define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
+
+/**
+ * Filename of custom footer file.
+ */
+define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
+
+/**
+ * Default value for check for version upgrades.
+ */
+define('VERSION_CHECK_DEFAULT', true);
+
+/**
+ * Path to files with compiled locales (*.mo)
+ */
+define('LOCALE_PATH', ROOT_PATH . 'locale/');
+
+/**
+ * Avoid referring to nonexistent files (causes warnings when open_basedir
+ * is used)
+ */
+define('K_PATH_IMAGES', ROOT_PATH);