Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
save_bvnghean.vn
/
wp-content
/
plugins
/
wpDataTables_v1.6.1
/
config
:
config.inc.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Settings file for the wpDataTables plugin * **/ // Current version define( 'WDT_CURRENT_VERSION', '1.6.1' ); /** * Regular Expressions */ define( 'WDT_EMAIL_REGEX', '/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i' ); define( 'WDT_URL_REGEX', '/^\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]$/i' ); /** * wpDataTables-related settings, too "technical" to be used in GUI */ define( 'WDT_PARSE_SHORTCODES_IN_STRINGS', false ); define ('WDT_DETECT_DATES_IN_EXCEL', true ); /** * Path settings. * Paths are relative by default, but you may change it as you wish */ define( 'WDT_TEMPLATE_PATH', WDT_ROOT_PATH.'templates/' ); // path to wpDataTables templates. You should not change this setting if you use default templates define( 'WDT_ASSETS_PATH', WDT_ROOT_URL.'assets/' ); // path to wpDataTables assets directory. You should not change this setting if you don't change default CSS/JS define( 'WDT_CSS_PATH', WDT_ROOT_URL.'assets/css/' ); // path to wpDataTables CSS styles. You should not change this setting if you use default CSS define( 'WDT_JS_PATH', WDT_ROOT_URL.'assets/js/' ); // path to wpDataTables javascript. You should not change this setting if you use default javascripts. /** * Settings which define whether we include the JS files * from the plugin build or not * (if user already has them included in the page) */ define( 'WDT_INCLUDE_DATATABLES_CORE', true ); // Whether to include link to jQuery DataTables plugin javascript to the generated page. Set to false if you already have DataTables included in your project (version used in wpDataTables is 1.9.1, newer version will be provided with updates). /** * MySQL settings for query-based tables */ define( 'WDT_ENABLE_MYSQL', true ); // Whether to use MySQL in wpDataTables. Disable if you are not going to access MySQL directly from wpDataTables. if(get_option('wdtUseSeparateCon')){ define( 'WDT_MYSQL_HOST', get_option('wdtMySqlHost') ); // Name or address of MySQL host define( 'WDT_MYSQL_DB', get_option('wdtMySqlDB') ); // Name of MySQL database to use define( 'WDT_MYSQL_USER', get_option('wdtMySqlUser') ); // Name of MySQL user define( 'WDT_MYSQL_PASSWORD', get_option('wdtMySqlPwd') ); // Password to use in MySQL } global $wdtAllowTypes; $wdtAllowTypes = array( 'int', 'float', 'date', 'email', 'string', 'link', 'image', 'formatnum', 'formula' ); ?>