cvs: pear /Auth Auth.php
| From: | Yavor Shahpasov | Date: | Mon, 28 Jul 2003 22:16:29 +0000 |
| Subject: | cvs: pear /Auth Auth.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11795@lists.php.net to get a copy of this message | ||
yavo Mon Jul 28 18:16:29 2003 EDT
Modified files:
/pear/Auth Auth.php
Log:
Some fixes
Index: pear/Auth/Auth.php
diff -u pear/Auth/Auth.php:1.57 pear/Auth/Auth.php:1.58
--- pear/Auth/Auth.php:1.57 Sat Jul 19 14:04:20 2003
+++ pear/Auth/Auth.php Mon Jul 28 18:16:29 2003
@@ -16,7 +16,7 @@
// | Authors: Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Auth.php,v 1.57 2003/07/19 18:04:20 yavo Exp $
+// $Id: Auth.php,v 1.58 2003/07/28 22:16:29 yavo Exp $
//
require_once "PEAR.php";
@@ -33,7 +33,7 @@
*
* @author Martin Jansen <mj@php.net>
* @package Auth
- * @version $Revision: 1.57 $
+ * @version $Revision: 1.58 $
*/
class Auth {
@@ -151,7 +151,7 @@
* @param boolean Should the login form be displayed if neccessary?
* @return void
*/
- function Auth($storageDriver = "DB", $options = "", $loginFunction =
"", $showLogin = true)
+ function Auth($storageDriver, $options = "", $loginFunction = "",
$showLogin = true)
{
if ($loginFunction != "" && function_exists($loginFunction)) {
$this->loginFunction = $loginFunction;
@@ -577,7 +577,7 @@
echo "<i>Wrong login data!</i>\n";
}
- PEAR::raiseError("You are using the built-in login screen of
PEAR::Auth.<br/>See the <a href=\"http://pear.php.net/manual/\">manual</a>
for details on how to create your own login function.", null, PEAR_ERROR_PRINT);
+ PEAR::raiseError("You are using the built-in login screen of
PEAR::Auth.<br/>See the <a href=\"http://pear.php.net/manual/\">manual</a>
for details on how to create your own login function.", null);
echo "<form method=\"post\" action=\"" .
$server['PHP_SELF'] . "\">\n";
echo "<table border=\"0\" cellpadding=\"2\"
cellspacing=\"0\">\n";