LS->CC renaming. Removed special handling for PHP5 since we now assume we use PHP5.

This commit is contained in:
paul 2006-11-21 16:04:21 +00:00
parent d41cffbc08
commit 883c6037b6
1 changed files with 2 additions and 13 deletions

View File

@ -5,8 +5,7 @@
* @version $Revision$
*/
define('LS_VERSION', '1.1');
define('PHP5', version_compare( phpversion(), "5.0.0", ">=" ));
define('CAMPCASTER_VERSION', '1.1.0');
/**
* configuration structure:
@ -52,7 +51,7 @@ $config = array(
'tblNamePrefix' => 'ls_',
/* ================================================ storage configuration */
'authCookieName'=> 'lssid',
'authCookieName'=> 'campcaster_session_id',
'AdminsGr' => 'Admins',
'StationPrefsGr'=> 'StationPrefs',
'AllGr' => 'All',
@ -126,14 +125,4 @@ $config['sysSubjs'] = array(
$old_ip = get_include_path();
set_include_path('.'.PATH_SEPARATOR.$config['pearPath'].PATH_SEPARATOR.$old_ip);
if(!PHP5){
eval('
define("FILE_APPEND", TRUE);
function file_put_contents($f, $s, $ap=FALSE){
$fp=fopen($f, $ap==FILE_APPEND ? "a" : "w");
fwrite($fp,$s);
fclose($fp);
}
');
}
?>