[guadec-web] added the file path to load.php



commit bf292413f4df3b91ee9e76da3fd35b32ed0df817
Author: Saumya Dwivedi <saumya zero gmail com>
Date:   Tue Jul 8 10:25:38 2014 +0530

    added the file path to load.php

 guadec/ipn.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/guadec/ipn.php b/guadec/ipn.php
index c4fae47..ca326bc 100755
--- a/guadec/ipn.php
+++ b/guadec/ipn.php
@@ -19,6 +19,7 @@ $listener = new IpnListener();
 // tell the IPN listener to use the PayPal test sandbox
 $listener->use_sandbox = true;
 
+require_once( ABSPATH . 'wp-load.php' );
 // update database variable
 global $wpdb;
 
@@ -104,6 +105,7 @@ if ($verified) {
     } else {
 
         $reg_email = $cvar['email'];
+        var_dump($wpdb);
         $table_name = $wpdb->prefix .'guadec2014_registration';
         
         $wpdb->update(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]