Rev 6 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6 | Rev 7 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | } |
60 | } |
61 | require __DIR__ . '/config/config.inc.php'; |
61 | require __DIR__ . '/config/config.inc.php'; |
62 | define('PRODUCT_NAME', 'CryptoChat'); |
62 | define('PRODUCT_NAME', 'CryptoChat'); |
63 | define('MCC_VER', trim(file_get_contents(__DIR__ . '/VERSION'))); |
63 | define('MCC_VER', trim(file_get_contents(__DIR__ . '/VERSION'))); |
64 | 64 | ||
- | 65 | if (!function_exists('get_magic_quotes_gpc')) { |
|
- | 66 | // Required by sajax.php |
|
- | 67 | function get_magic_quotes_gpc() { |
|
- | 68 | return false; |
|
- | 69 | } |
|
- | 70 | } |
|
- | 71 | ||
65 | require __DIR__ . '/' . DEP_DIR_SAJAX . '/php/sajax.php'; |
72 | require __DIR__ . '/' . DEP_DIR_SAJAX . '/php/sajax.php'; |
66 | require __DIR__ . '/' . DEP_DIR_JSONWRAPPER . '/jsonwrapper.php'; // TODO: make optional. only required if running with PHP 5.1 |
73 | require __DIR__ . '/' . DEP_DIR_JSONWRAPPER . '/jsonwrapper.php'; // TODO: make optional. only required if running with PHP 5.1 |
67 | 74 | ||
68 | header('Content-type: text/html; charset=utf-8'); |
75 | header('Content-type: text/html; charset=utf-8'); |
69 | 76 |