projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add logout to example wordpress self-service, RT#75279
[freeside.git]
/
fs_selfservice
/
wordpress
/
process_logout.php
diff --git a/fs_selfservice/wordpress/process_logout.php
b/fs_selfservice/wordpress/process_logout.php
new file mode 100644
(file)
index 0000000..
398fb22
--- /dev/null
+++ b/
fs_selfservice/wordpress/process_logout.php
@@ -0,0
+1,13
@@
+<?php
+
+$GLOBALS['FREESIDE_PROCESS_LOGOUT'] = true;
+
+require( dirname( __FILE__ ) . '/wp-blog-header.php' );
+
+get_header();
+
+?>
+
+You have been logged out.
+
+<?php get_footer(); ?>