Posted by "Robert" on 05/23/05 16:12
I have the following in a config file:
// Define and require the Smarty library
define('SMARTY_DIR', 'Smarty/');
require(SMARTY_DIR . 'Smarty.class.php');
// Define the pager stuff
define('PAGER_DIR', 'Pager/');
require(PAGER_DIR . 'Pager.php');
require(PAGER_DIR . 'Pager_Wrapper.php');
// Define the DB package
define('PEAR_DB', 'DB/');
require(PEAR_DB . 'DB.php');
The Smarty stuff works no problem. The DB and Pager stuff do not. Since I am
new to PHP I may be just misunderstanding how to do it.
I am using Apache/PHP on Windows.
Robert
Navigation:
[Reply to this message]
|