Changeset 50

Show
Ignore:
Timestamp:
05/23/07 14:56:47 (2 years ago)
Author:
pdingle
Message:

added new function call in infocard-post.php: getSuccessUrl (and removed existing calls to the wp-specific 'get_setting' command)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/pwlib/processing/infocard-post.php

    r49 r50  
    77include_once("infocard-post-decrypt.php"); 
    88include_once("infocard-post-get-claims.php"); 
    9 include_once("class.infocard-processing.php"); 
    109//include_once( dirname(__FILE__) . "/../../pw-config.php"); 
    1110//include_once( dirname(__FILE__) . "/../../" . PW_PLUGIN . "/admin.pw.php"); 
     
    306305                else  
    307306                { 
    308                         $relocationUrl = "index.php"
     307                        $relocationUrl = pw_utils::getSuccessURL()
    309308                } 
    310309 
    311310            // don't want to be redirected to the login page if you are already logged in 
    312311            if ($relocationUrl == "/wp-login.php") 
    313                 $relocationUrl = ""
     312               $relocationUrl = pw_utils::getSuccessURL()
    314313        } 
    315314    } 
    316315 
    317316    if (!$relocationUrl) { 
    318        $relocationUrl = get_settings('siteurl'); 
     317       $relocationUrl = pw_utils::getSuccessURL(); 
    319318    }     
    320319