--- a/punbb/plugins/AMP_Example.php Wed Jul 11 21:28:39 2007 -0400
+++ b/punbb/plugins/AMP_Example.php Thu Jul 12 01:04:01 2007 -0400
@@ -33,10 +33,10 @@
## terminated (e.g. by calling exit()). After the plugin script has
## finished, the loader script displays the footer, so don't worry
## about that. Please note that terminating a plugin by calling
-## message() or redirect() is fine though.
+## message() or pun_redirect() is fine though.
##
## 3. The action attribute of any and all <form> tags and the target
-## URL for the redirect() function must be set to the value of
+## URL for the pun_redirect() function must be set to the value of
## $_SERVER['REQUEST_URI']. This URL can however be extended to
## include extra variables (like the addition of &foo=bar in
## the form of this example plugin).
@@ -51,7 +51,7 @@
##
## 6. Since plugin scripts are included from the PunBB script
## admin_loader.php, you have access to all PunBB functions and
-## global variables (e.g. $db, $pun_config, $pun_user etc).
+## global variables (e.g. $pun_db, $pun_config, $pun_user etc).
##
## 7. Do your best to keep the look and feel of your plugins' user
## interface similar to the rest of the admin scripts. Feel free to