LS->CC renaming. Removed special handling for PHP5 since we now assume we use PHP5.
This commit is contained in:
parent
a3bd7c9d73
commit
dcd82ff474
|
@ -7,8 +7,7 @@
|
|||
*/
|
||||
|
||||
|
||||
define('LS_VERSION', '1.1');
|
||||
define('PHP5', version_compare( phpversion(), "5.0.0", ">=" ));
|
||||
define('CAMPCASTER_VERSION', '1.1.0');
|
||||
|
||||
/**
|
||||
* configuration structure:
|
||||
|
@ -54,7 +53,7 @@ $config = array(
|
|||
'tblNamePrefix' => 'ls_',
|
||||
|
||||
/* ================================================ storage configuration */
|
||||
'authCookieName'=> 'lssid',
|
||||
'authCookieName'=> 'campcaster_session_id',
|
||||
'AdminsGr' => 'Admins',
|
||||
'StationPrefsGr'=> 'StationPrefs',
|
||||
'AllGr' => 'All',
|
||||
|
@ -154,15 +153,4 @@ if(!is_null($this_file)){
|
|||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
');
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue