[guadec-web] GUADEC theme is located outside of wp-content/themes The theme being located on a different folder t
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] GUADEC theme is located outside of wp-content/themes The theme being located on a different folder t
- Date: Tue, 8 Jul 2014 18:15:15 +0000 (UTC)
commit f19ad9c5450283d6d08dc1f4776aaf1cbaf84781
Author: Andrea Veri <av gnome org>
Date: Tue Jul 8 20:14:01 2014 +0200
GUADEC theme is located outside of wp-content/themes
The theme being located on a different folder than the WP installation
created problems in wp-load being loaded correctly.
Make use of $SERVER(DOCUMENT_ROOT) instead which will grab the correct
Apache-defined document root.
guadec/ipnlistener.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/guadec/ipnlistener.php b/guadec/ipnlistener.php
index d8d2398..6a4d3c1 100755
--- a/guadec/ipnlistener.php
+++ b/guadec/ipnlistener.php
@@ -13,7 +13,7 @@
* @version 2.1.0
*/
-echo ($_SERVER['DOCUMENT_ROOT']."/wp-load.php");
+require_once($_SERVER['DOCUMENT_ROOT']."/wp-load.php");
global $wpdb;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]