Changeset 1462 for branches/2.0/expressoMail1_2/offline.php
- Timestamp:
- 09/29/09 11:20:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/offline.php
r1121 r1462 1 1 <?php 2 2 3 /* Begin: Check config needed for expressoMail */4 /* Config need for expressoMail work */5 $php_ini['session.auto_start'] = '1';6 $php_ini['magic_quotes_gpc'] = '';7 $php_ini['magic_quotes_runtime'] = '';8 $php_ini['magic_quotes_sybase'] = '';9 10 /* Config from php.ini */11 $php_ini_configs = array("session.auto_start","magic_quotes_gpc","magic_quotes_runtime","magic_quotes_sybase");12 /* Checking */13 $error = false;14 foreach($php_ini_configs as $config)15 {16 if ( ($f_phpini=ini_get($config)) != $php_ini[$config])17 {18 $error = true;19 echo "Erro: Config <font color=red>$config</font> from php.ini needs to be '" . $php_ini[$config] . "', but is set to '" . $f_phpini . "'.<br>";20 }21 }22 if ($error)23 exit;24 /* End: Check config needed for expressoMail */25 26 3 $GLOBALS['phpgw_info']['flags'] = array( 27 4 'noheader' => False,
Note: See TracChangeset
for help on using the changeset viewer.