Changeset 50
- Timestamp:
- 05/23/07 14:56:47 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-infocard/pwlib/processing/infocard-post.php
r49 r50 7 7 include_once("infocard-post-decrypt.php"); 8 8 include_once("infocard-post-get-claims.php"); 9 include_once("class.infocard-processing.php");10 9 //include_once( dirname(__FILE__) . "/../../pw-config.php"); 11 10 //include_once( dirname(__FILE__) . "/../../" . PW_PLUGIN . "/admin.pw.php"); … … 306 305 else 307 306 { 308 $relocationUrl = "index.php";307 $relocationUrl = pw_utils::getSuccessURL(); 309 308 } 310 309 311 310 // don't want to be redirected to the login page if you are already logged in 312 311 if ($relocationUrl == "/wp-login.php") 313 $relocationUrl = "";312 $relocationUrl = pw_utils::getSuccessURL(); 314 313 } 315 314 } 316 315 317 316 if (!$relocationUrl) { 318 $relocationUrl = get_settings('siteurl');317 $relocationUrl = pw_utils::getSuccessURL(); 319 318 } 320 319
