XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 23, 2011, 3:03:57 PM (13 years ago)
Author:
toemon
Message:

ConfigFromXoopsクラスを廃止し、modInfoクラスを使用するように変更
WP2.2以下で使用するテンプレートold_templateの廃止

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/include/set_cash_cookie_path.php

    r478 r757  
    11<?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(); 
    44$hash = md5($modurl); 
    55/** 
     
    5050 */ 
    5151if ( !defined('COOKIEPATH') ) 
    52         define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', $xoops_config->xoops_url . '/' ) ); 
     52        define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', $modInfo->get_xoops_url() . '/' ) ); 
    5353 
    5454/** 
     
    5757 */ 
    5858if ( !defined('SITECOOKIEPATH') ) 
    59         define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', $xoops_config->xoops_url  . '/' ) ); 
     59        define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', $modInfo->get_xoops_url()  . '/' ) ); 
    6060 
    6161/** 
Note: See TracChangeset for help on using the changeset viewer.