[TEP-COMMIT] [CVS admin] update the sessions path to use the new working directory
anonymous-OfajU3CKLf1/[email protected] 8 Apr 2004 05:46:32 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in admin/admin/includes on MAIN
application_top.php +3 -3 1.163 -> 1.164
update the sessions path to use the new working directory
update the categories box caching value due to the new categoryTree class
----------
admin /admin /includes
application_top.php 1.163 -> 1.164
diff -u -r1.163 -r1.164
--- application_top.php 2004/02/15 18:21:28 1.163
+++ application_top.php 2004/04/08 05:46:31 1.164
@@ -83,7 +83,7 @@
if (!function_exists('session_start')) {
define('PHP_SESSION_NAME', 'osCAdminID');
define('PHP_SESSION_PATH', '/');
- define('PHP_SESSION_SAVE_PATH', SESSION_WRITE_DIRECTORY);
+ define('PHP_SESSION_SAVE_PATH', DIR_FS_WORK);
include(DIR_WS_CLASSES . 'sessions.php');
}
@@ -93,7 +93,7 @@
// set the session name and save path
tep_session_name('osCAdminID');
- tep_session_save_path(SESSION_WRITE_DIRECTORY);
+ tep_session_save_path(DIR_FS_WORK);
// set the session cookie parameters
if (function_exists('session_set_cookie_params')) {
@@ -187,7 +187,7 @@
// the following cache blocks are used in the Tools->Cache section
// ('language' in the filename is automatically replaced by available languages)
- $cache_blocks = array(array('title' => TEXT_CACHE_CATEGORIES, 'code' => 'categories', 'file' => 'categories_box-language.cache', 'multiple' => true),
+ $cache_blocks = array(array('title' => TEXT_CACHE_CATEGORIES, 'code' => 'categories', 'file' => 'category_tree-language.cache', 'multiple' => false),
array('title' => TEXT_CACHE_MANUFACTURERS, 'code' => 'manufacturers', 'file' => 'manufacturers_box-language.cache', 'multiple' => true),
array('title' => TEXT_CACHE_ALSO_PURCHASED, 'code' => 'also_purchased', 'file' => 'also_purchased-language.cache', 'multiple' => true)
);
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click