XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 3, 2009, 8:33:23 PM (15 years ago)
Author:
toemon
Message:

XOOPS mainfile.phpのdefine文を事前に読み取りwp-config.phpのDB接続関係を生成することにより、XOOPSシステムを必要なときだけ呼び出す仕組みを作る。
およびイベント通知関係の修正(まだゲストのアクセス権限がないと駄目)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/xpressme.php

    r91 r95  
    1010require_once('xpressme_class.php'); 
    1111 
    12 require_once dirname( __FILE__ ).'/include/custom_functions.php' ; 
     12require_once dirname( __FILE__ ).'/include/custom_functions.php' ;              // XPressME functions for themes 
     13require_once dirname( __FILE__ ).'/include/xpress_common_functions.php' ; 
    1314 
    1415$xoops_db = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); 
     
    5556add_action('admin_footer', array(&$XPressME, 'displayDebugLog')); 
    5657add_action('get_footer', array(&$XPressME, 'displayDebugLog')); 
    57  
    5858?> 
Note: See TracChangeset for help on using the changeset viewer.