root/afridex/plugins/fresh-page/RCCWP_Constant.php @ 22

Revision 21, 1.2 kB (checked in by admin, 18 years ago)
Line 
1<?php
2global $wpdb;
3
4define('RC_CWP_DEBUG_MODE', TRUE);
5define('RC_CWP_PLUGIN_DIR', dirname(plugin_basename(__FILE__)));
6define('RC_CWP_POST_WRITE_PANEL_ID_META_KEY', '_rc_cwp_write_panel_id');
7define('RC_CWP_OPTION_KEY', 'rc_custom_write_panel');
8
9define('RC_CWP_TABLE_WRITE_PANELS', $wpdb->prefix  . 'rc_cwp_write_panels');
10define('RC_CWP_TABLE_CUSTOM_FIELD_TYPES', $wpdb->prefix  . 'rc_cwp_custom_field_types');
11define('RC_CWP_TABLE_PANEL_CUSTOM_FIELD', $wpdb->prefix  . 'rc_cwp_panel_custom_field');
12define('RC_CWP_TABLE_CUSTOM_FIELD_OPTIONS', $wpdb->prefix  . 'rc_cwp_custom_field_options');
13define('RC_CWP_TABLE_PANEL_CATEGORY', $wpdb->prefix  . 'rc_cwp_panel_category');
14define('RC_CWP_TABLE_STANDARD_FIELDS', $wpdb->prefix  . 'rc_cwp_standard_fields');
15define('RC_CWP_TABLE_PANEL_STANDARD_FIELD', $wpdb->prefix  . 'rc_cwp_panel_standard_field');
16define('RC_CWP_TABLE_CUSTOM_FIELD_PROPERTIES', $wpdb->prefix  . 'rc_cwp_custom_field_properties');
17define('RC_CWP_TABLE_PANEL_HIDDEN_EXTERNAL_FIELD', $wpdb->prefix  . 'rc_cwp_panel_hidden_external_field');
18
19if (!defined('DIRECTORY_SEPARATOR'))
20{
21        if (strpos(php_uname('s'), 'Win') !== false )
22                define('DIRECTORY_SEPARATOR', '\\');
23        else 
24                define('DIRECTORY_SEPARATOR', '/');
25}
26?>
Note: See TracBrowser for help on using the browser.