[geeklog-cvs] MVCnPHP/quickform index.php,1.1,1.2
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Mon Jul 14 12:30:45 EDT 2003
Update of /usr/cvs/geeklog/MVCnPHP/quickform
In directory internal.geeklog.net:/tmp/cvs-serv6566
Modified Files:
index.php
Log Message:
Genericized the configuration settings
Index: index.php
===================================================================
RCS file: /usr/cvs/geeklog/MVCnPHP/quickform/index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.php 2 May 2003 18:00:39 -0000 1.1
--- index.php 14 Jul 2003 16:30:43 -0000 1.2
***************
*** 29,40 ****
* Controller part of the MVC
*/
! require_once '../Controller.class.php';
! $configData = '/var/www/MVCnPHP/quickform/mvcconfig.xml';
$controller = &new Controller($configData, MVC_XML);
! $controller->setMVCBase('/var/www/MVCnPHP/');
! $controller->setBaseURL('http://localhost/MVCnPHP/quickform');
! $controller->setViewDir('/var/www/MVCnPHP/quickform/views/');
! $controller->setCommandDir('/var/www/MVCnPHP/quickform/views/');
$controller->processRequest();
--- 29,40 ----
* Controller part of the MVC
*/
! require_once 'Controller.class.php';
! $configData = '/path/to/MVCnPHP/quickform/mvcconfig.xml';
$controller = &new Controller($configData, MVC_XML);
! $controller->setMVCBase('/path/to/MVCnPHP/');
! $controller->setBaseURL('http://www.example.com');
! $controller->setViewDir('/path/to/MVCnPHP/quickform/views/');
! $controller->setCommandDir('/path/to/MVCnPHP/quickform/views/');
$controller->processRequest();
More information about the geeklog-cvs
mailing list