[ Index ] |
PHP Cross Reference of Textpattern 4.0.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 $HeadURL: https://textpattern.googlecode.com/svn/releases/4.0.8/source/textpattern/lib/constants.php $ 4 $LastChangedRevision: 3038 $ 5 */ 6 7 $old_level = error_reporting(E_ALL ^ (E_NOTICE)); 8 9 define('TXP_DEBUG', 0); 10 11 define('SPAM', -1); 12 define('MODERATE', 0); 13 define('VISIBLE', 1); 14 define('RELOAD', -99); 15 16 define('RPC_SERVER', 'http://rpc.textpattern.com'); 17 18 define('LEAVE_TEXT_UNTOUCHED', 0); 19 define('USE_TEXTILE', 1); 20 define('CONVERT_LINEBREAKS', 2); 21 22 if (defined('DIRECTORY_SEPARATOR')) 23 define('DS', DIRECTORY_SEPARATOR); 24 else 25 define ('DS', (is_windows() ? '\\' : '/')); 26 27 define('MAGIC_QUOTES_GPC', get_magic_quotes_gpc()); 28 29 define('REGEXP_UTF8', @preg_match('@\pL@u', 'q')); 30 define('NULLDATETIME', '\'0000-00-00 00:00:00\''); 31 32 define('PERMLINKURL', 0); 33 define('PAGELINKURL', 1); 34 35 define('EXTRA_MEMORY', '32M'); 36 37 define('IS_CGI', substr(PHP_SAPI, 0, 3) == 'cgi' ); 38 define('IS_FASTCGI', IS_CGI and empty($_SERVER['FCGI_ROLE']) and empty($_ENV['FCGI_ROLE']) ); 39 define('IS_APACHE', !IS_CGI and substr(PHP_SAPI, 0, 6) == 'apache' ); 40 41 error_reporting($old_level); 42 unset($old_level); 43 44 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu May 21 23:03:01 2009 | Cross-referenced by PHPXref 0.7 |