cvs: pear /Perm_LiveUser/examples/example1 example.php /Perm_LiveUser/examples/example2 example.php /Perm_LiveUser/examples/example3 area51.php
coffeemaker.php testarea.php /Perm_LiveUser/examples/example4 main.inc.php

From: Date: Thu, 05 Jun 2003 17:32:40 +0000
Subject: cvs: pear /Perm_LiveUser/examples/example1 example.php /Perm_LiveUser/examples/example2 example.php /Perm_LiveUser/examples/example3 area51.php
coffeemaker.php testarea.php /Perm_LiveUser/examples/example4 main.inc.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10717@lists.php.net to get a copy of this message
krausbn Thu Jun 5 13:32:40 2003 EDT Modified files: /pear/Perm_LiveUser/examples/example1 example.php /pear/Perm_LiveUser/examples/example2 example.php /pear/Perm_LiveUser/examples/example3 area51.php coffeemaker.php testarea.php /pear/Perm_LiveUser/examples/example4 main.inc.php Log: It's not necessary to include PEAR.php anymore, 'cause LiveUser now does the job. Index: pear/Perm_LiveUser/examples/example1/example.php diff -u pear/Perm_LiveUser/examples/example1/example.php:1.2 pear/Perm_LiveUser/examples/example1/example.php:1.3 --- pear/Perm_LiveUser/examples/example1/example.php:1.2 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example1/example.php Thu Jun 5 13:32:39 2003 @@ -12,7 +12,7 @@ * No permission management is supported. * * @author Björn Kraus <krausbn@php.net> - * @version $Id: example.php,v 1.2 2003/06/05 16:48:43 krausbn Exp $ + * @version $Id: example.php,v 1.3 2003/06/05 17:32:39 krausbn Exp $ **/ error_reporting(E_ALL); @@ -20,9 +20,6 @@ $tmp = explode('/', getenv('DOCUMENT_ROOT')); $tmp[(count($tmp)-1)] = 'pear'; ini_set('include_path', implode('/', $tmp)); - -// Include PEAR -require_once 'PEAR.php'; // Get LoginManager class definition require_once 'LiveUser/LiveUser.php'; Index: pear/Perm_LiveUser/examples/example2/example.php diff -u pear/Perm_LiveUser/examples/example2/example.php:1.2 pear/Perm_LiveUser/examples/example2/example.php:1.3 --- pear/Perm_LiveUser/examples/example2/example.php:1.2 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example2/example.php Thu Jun 5 13:32:39 2003 @@ -11,7 +11,7 @@ * This example is intended to be used with the Auth/XML and the Perm/XML_Simple driver. * * @author Björn Kraus <krausbn@php.net> - * @version $Id: example.php,v 1.2 2003/06/05 16:48:43 krausbn Exp $ + * @version $Id: example.php,v 1.3 2003/06/05 17:32:39 krausbn Exp $ **/ error_reporting(E_ALL); @@ -27,9 +27,6 @@ define('WATCHLATENIGHTTV', 4); define('USETHECOMPUTER', 5); define('CONNECTINGTHEINTERNET', 6); - -// Include PEAR -require_once 'PEAR.php'; // Get LoginManager class definition require_once 'LiveUser/LiveUser.php'; Index: pear/Perm_LiveUser/examples/example3/area51.php diff -u pear/Perm_LiveUser/examples/example3/area51.php:1.5 pear/Perm_LiveUser/examples/example3/area51.php:1.6 --- pear/Perm_LiveUser/examples/example3/area51.php:1.5 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example3/area51.php Thu Jun 5 13:32:40 2003 @@ -10,7 +10,7 @@ * * This example is intended to be used with the DB_Medium Perm driver. * - * @version $Id: area51.php,v 1.5 2003/06/05 16:48:43 krausbn Exp $ + * @version $Id: area51.php,v 1.6 2003/06/05 17:32:40 krausbn Exp $ **/ error_reporting(E_ALL); @@ -21,8 +21,6 @@ // Include configuration. require_once 'conf.php'; -// Include PEAR -require_once 'PEAR.php'; // Get LoginManager class definition require_once 'LiveUser/LiveUser.php'; Index: pear/Perm_LiveUser/examples/example3/coffeemaker.php diff -u pear/Perm_LiveUser/examples/example3/coffeemaker.php:1.4 pear/Perm_LiveUser/examples/example3/coffeemaker.php:1.5 --- pear/Perm_LiveUser/examples/example3/coffeemaker.php:1.4 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example3/coffeemaker.php Thu Jun 5 13:32:40 2003 @@ -10,7 +10,7 @@ * * This example is intended to be used with the DB_Medium Perm driver. * - * @version $Id: coffeemaker.php,v 1.4 2003/06/05 16:48:43 krausbn Exp $ + * @version $Id: coffeemaker.php,v 1.5 2003/06/05 17:32:40 krausbn Exp $ **/ error_reporting(E_ALL); @@ -20,8 +20,6 @@ // Include configuration. require_once 'conf.php'; -// Include PEAR -require_once 'PEAR.php'; // Get LoginManager class definition require_once 'LiveUser/LiveUser.php'; Index: pear/Perm_LiveUser/examples/example3/testarea.php diff -u pear/Perm_LiveUser/examples/example3/testarea.php:1.5 pear/Perm_LiveUser/examples/example3/testarea.php:1.6 --- pear/Perm_LiveUser/examples/example3/testarea.php:1.5 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example3/testarea.php Thu Jun 5 13:32:40 2003 @@ -10,7 +10,7 @@ * * This example is intended to be used with the DB_Medium Perm driver. * - * @version $Id: testarea.php,v 1.5 2003/06/05 16:48:43 krausbn Exp $ + * @version $Id: testarea.php,v 1.6 2003/06/05 17:32:40 krausbn Exp $ **/ error_reporting(E_ALL); @@ -20,8 +20,6 @@ // Include configuration. require_once 'conf.php'; -// Include PEAR -require_once 'PEAR.php'; // Get LoginManager class definition require_once 'LiveUser/LiveUser.php'; Index: pear/Perm_LiveUser/examples/example4/main.inc.php diff -u pear/Perm_LiveUser/examples/example4/main.inc.php:1.5 pear/Perm_LiveUser/examples/example4/main.inc.php:1.6 --- pear/Perm_LiveUser/examples/example4/main.inc.php:1.5 Thu Jun 5 12:48:43 2003 +++ pear/Perm_LiveUser/examples/example4/main.inc.php Thu Jun 5 13:32:40 2003 @@ -74,12 +74,7 @@ 'type' => 'mysql', 'name' => 'test', 'user' => 'root', - 'pwd' => 'root'), -'www.local-liveuser.de' => array('host' => 'localhost', - 'type' => 'mysql', - 'name' => 'test3', - 'user' => 'root', - 'pwd' => 'root'), + 'pwd' => 'root') );

« previous php.pear.cvs (#10717) next »