XPressME Integration Kit

Trac

Changeset 132 for trunk/wp-config.php


Ignore:
Timestamp:
Mar 22, 2009, 1:46:25 AM (15 years ago)
Author:
toemon
Message:

ImpressCMSで投稿すると、イベント通知するためにXOOPSをロードしたところで
Fatal error: Call to a member function prefix() on a non-object in C:\xampp\htdocs\impress\kernel\configitem.php on line 331のエラーが、
しょうがないので wp-admin/post.phpの場合は事前にXOOPSをロードするようにしてみた。
予約投稿は問題ないみたいだけれど、もいっかいイベント通知の確認しないと駄目かも

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-config.php

    r96 r132  
    9898        exit();         // The return to wp-blog-header.php is stolen here 
    9999} 
     100if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path; 
    100101require_once(ABSPATH.'wp-settings.php'); 
    101102?> 
Note: See TracChangeset for help on using the changeset viewer.