[guadec-web] Try loading wp-load this way
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Try loading wp-load this way
- Date: Tue, 8 Jul 2014 17:36:58 +0000 (UTC)
commit 379b69d2b26fb782156d317ffac9a9c98bb81d63
Author: Andrea Veri <av gnome org>
Date: Tue Jul 8 19:36:50 2014 +0200
Try loading wp-load this way
guadec/ipnlistener.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/guadec/ipnlistener.php b/guadec/ipnlistener.php
index 5da15b6..54f876d 100755
--- a/guadec/ipnlistener.php
+++ b/guadec/ipnlistener.php
@@ -13,8 +13,7 @@
* @version 2.1.0
*/
-<?= ABSPATH?>
-require_once( ABSPATH . 'wp-load.php' );
+<?php include_once(dirname(__FILE__) . '/wp-load.php') ?>
global $wpdb;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]