linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file server.php

Documentation is available at server.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage config_files
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. ini_set("arg_separator.output""&amp;");
  12. ini_set('register_globals'0);
  13. if(defined('MOD_DEBUG'&& MOD_DEBUG == true{
  14.   ini_set('display_errors'1);
  15.   error_reporting(E_ALL);
  16. else {
  17.   ini_set('display_errors'0);
  18. }
  19. setlocale(LC_NUMERIC'en_US');
  20. setlocale(LC_TIME'fr_FR');
  21. ini_set('session.auto_start'0);
  22. if(defined('SESS_LIFETIME')) {
  23.   ini_set('session.cookie_lifetime'SESS_LIFETIME);
  24.   ini_set('session.gc_maxlifetime'SESS_LIFETIME);
  25. }
  26. ini_set('session.use_cookies'0);
  27. ini_set('session.use_only_cookies'1);
  28. ini_set('date.timezone''Europe/Paris');
  29. //ini_set('session.use_trans_sid', 0);
  30. ini_set('url_rewriter.tags','');
  31. ?>

Documentation generated on Thu, 03 May 2012 15:07:33 +0200 by phpDocumentor 1.4.1