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