- Timestamp:
- May 23, 2011, 3:03:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/include/set_cash_cookie_path.php
r478 r757 1 1 <?php 2 $modname= $ xoops_config->module_name;3 $modurl = $ xoops_config->module_url;2 $modname= $modInfo->get_module_dirname(); 3 $modurl = $modInfo->get_module_url(); 4 4 $hash = md5($modurl); 5 5 /** … … 50 50 */ 51 51 if ( !defined('COOKIEPATH') ) 52 define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', $ xoops_config->xoops_url. '/' ) );52 define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', $modInfo->get_xoops_url() . '/' ) ); 53 53 54 54 /** … … 57 57 */ 58 58 if ( !defined('SITECOOKIEPATH') ) 59 define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', $ xoops_config->xoops_url. '/' ) );59 define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', $modInfo->get_xoops_url() . '/' ) ); 60 60 61 61 /**
Note: See TracChangeset
for help on using the changeset viewer.