From 883c6037b6eb8094dadfc53dc244488067829493 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 21 Nov 2006 16:04:21 +0000 Subject: [PATCH] LS->CC renaming. Removed special handling for PHP5 since we now assume we use PHP5. --- .../modules/storageServer/var/conf.php.template | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/campcaster/src/modules/storageServer/var/conf.php.template b/campcaster/src/modules/storageServer/var/conf.php.template index 73ad404ab..aca24011b 100644 --- a/campcaster/src/modules/storageServer/var/conf.php.template +++ b/campcaster/src/modules/storageServer/var/conf.php.template @@ -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); - } -'); -} ?> \ No newline at end of file