config.php

Our system gives the possibility to manually adjust all the configurations. You just need to edit the following file:

config\config.php

Pathes & urls

Name Type Default Description
ABSPATH string dirname(dirname(__FILE__)) The absolute path of the application.
CONFIG_DIR_NAME string 'config' Configurations directory name.
CONFIG_DIR string ABSPATH.CONFIG_DIR_NAME.'/' Configurations path.
CONFIG_FILE string CONFIG_DIR.'config.php' Configurations file path.
DATABASES_FILE string CONFIG_DIR.'databases.php' Databases file path.
IMPORTS_DIR_NAME string ABSPATH.'_imports/' Import directory name.
IMPORTS_DIR string ABSPATH.'_imports/' Import path - where the imports gets saved.
IMPORTS_TEMP_DIR integer IMPORTS_DIR.'tmp/' Import temporary path - allocate necessary files on import(s).
EXPORTS_DIR_NAME string ABSPATH.'_exports/' Export directory name.
EXPORTS_DIR string ABSPATH.'_exports/' Export path - where the exports gets saved.
EXPORTS_TEMP_DIR boolean EXPORTS_DIR.'tmp/' Export temporary path - allocate necessary files on export(s).
ABSURL string '' The absolute url of the application.
IMPORTS_URL string ABSURL.IMPORTS_DIR_NAME.'/' Url with the location of the imports.
EXPORTS_URL string ABSURL.EXPORTS_DIR_NAME.'/' Url with the location of the exports.

General

Name Type Default Description
_hide_only_one_database boolean true To hide the databases select boxes when only 1 database exist.
_hide_only_one_table boolean true To hide the tables select boxes when only 1 table exist.
_file_encoding_list array array('UTF-8', 'ISO-8859-1', 'Windows-1251', 'SJIS', 'Windows-1252', 'GB2312', 'EUC-KR', 'EUC-JP', 'GBK', 'ISO-8859-2', 'ISO-8859-15', 'BIG-5', 'ISO-8859-9', 'Windows-1254') Most used file encoding charsets ordered by world usage (IMPORTANT: put in order of preference).

Import

Name Type Default Description
_import_rows_per_batch_method string "auto" auto, manual ("auto" - will determine the best number of rows to improve the speed of the import).
_import_rows_per_batch integer 100 1, 100, 1000, ...
_import_csv_settings_method string "auto" auto, manual ("auto" - will search on the file what's the most probable value).
_import_csv_delimiter string "," ",", ";", "\t", "|", ".", ":", "^" - (attention: on the string use " and not ').
_import_csv_enclosure string "\"" "\"", "'" - (attention: on the string use " and not ').
_import_csv_escape string "\\" "\\" - (attention: on the string use " and not ').
_import_csv_encoding string "UTF-8" Default CSV encoding.
_import_allowed_file_extensions array array('csv') Allowed file extensions.

Export

Name Type Default Description
_export_rows_per_batch_method string "auto" auto, manual ("auto" - will determine the best number of rows to improve the speed of the export).
_export_rows_per_batch integer 100 1, 100, 1000, ...
_export_csv_delimiter string "," ",", ";", "\t", "|", ".", ":", "^" - (attention: on the string use " and not ').
_export_csv_enclosure string "\"" // "\"", "'" - attention: on the string use " and not ').
_export_csv_escape string "\\" // "\\" - (attention: on the string use " and not ').
_export_csv_encoding string "UTF-8" Default CSV encoding.

Logs

Name Type Default Description
_log_data_format string "Y-m-d H:i:s" Date format.
_log_csv_delimiter string "," ",", ";", "\t", "|", ".", ":", "^" - (attention: on the string use " and not ').
_log_csv_enclosure string "\"" // "\"", "'" - (attention: on the string use " and not ').
_log_csv_escape string "\\" // "\\" - (attention: on the string use " and not ').
_log_csv_encoding string "UTF-8" Default CSV encoding.

PHP INI configurations

Name Type Default Description
UPLOAD_MAX_FILESIZE string ini_get('upload_max_filesize') The maximum size of an uploaded file - 2M, 200M, ...
MAX_FILE_UPLOADS integer ini_get('max_file_uploads') The maximum number of files allowed to be uploaded simultaneously - 20, 30, ...
POST_MAX_SIZE string ini_get('post_max_size') Max size of post data allowed - 8M, 200M, ...
MEMORY_LIMIT_escape string ini_get('memory_limit') Maximum amount of memory in bytes that a script is allowed to allocate - 128M, 256M, ...
MAX_EXECUTION_TIME integer ini_get('max_execution_time') Maximum time in seconds a script is allowed to run before it is terminated by the parser - 30, 60, 300, ...
MAX_INPUT_TIME integer ini_get('max_input_time') Maximum time in seconds a script is allowed to parse input data, like POST and GET - 30, 60, 300, ... -1 means that max_execution_time is used instead.
ALLOW_URL_FOPEN boolean ini_get('allow_url_fopen') If the server can access remote files through url - true or false.
CURL_INIT boolean function_exists('curl_init') If the curl function is installed or not - true or false.