List Info

Thread: index.php




index.php
user name
2006-11-16 17:29:08
Update of /var/cvs/Geeklog-2.x/Geeklog-2.x/public_html
In directory iowaoutdoors:/tmp/cvs-serv25567/public_html

Modified Files:
	index.php 
Log Message:
Now uses configure-less MVCnPHP

Index: index.php
============================================================
=======
RCS file:
/var/cvs/Geeklog-2.x/Geeklog-2.x/public_html/index.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** index.php	16 Nov 2006 16:16:36 -0000	1.22
--- index.php	16 Nov 2006 17:29:06 -0000	1.23
***************
*** 140,148 ****
          $_REQUEST['cmd'] = $urlArgs[0];
      }
!     $configData = $glConf['path'] . 'mvcconfig.xml';
!     $controller = new MVCnPHP_Controller($configData);
!     $controller->setBaseURL($glConf['site_url']);
!     $controller->setViewDir($glConf['path_views']);
!    
$controller->setCommandDir($glConf['path_commands']);
      try {
          // Process the request
--- 140,144 ----
          $_REQUEST['cmd'] = $urlArgs[0];
      }
!     $controller = new
Geeklog_MVCnPHP_Controller($glConf['mvc_options']);
      try {
          // Process the request

_______________________________________________
geeklog2-cvs mailing list
geeklog2-cvslists.geeklog.net
http://lists.geeklog.net/mailman/listinfo/geeklog2-cvs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )