root/ip/trunk/ajax.php
| 119 | 159 | ||
|---|---|---|---|
18 | if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './'); | 18 | if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './'); |
19 | if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1)); | 19 | if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1)); |
20 | include(IP_ROOT_PATH . 'common.' . PHP_EXT); | 20 | include(IP_ROOT_PATH . 'common.' . PHP_EXT); |
21 | include(IP_ROOT_PATH . 'includes/functions_post.' . PHP_EXT); | 21 | include_once(IP_ROOT_PATH . 'includes/functions_post.' . PHP_EXT); |
22 | 22 | ||
23 | // Define constant to keep page_header.php from sending headers | 23 | // Define constant to keep page_header.php from sending headers |
24 | define('AJAX_HEADERS', true); | 24 | define('AJAX_HEADERS', true); |
Download diff