Update of /var/cvs/Geeklog-2.x/Geeklog-2.x/public_html
In directory iowaoutdoors:/tmp/cvs-serv23178/public_html
Modified Files:
index.php
Log Message:
includes/require now use getWD() function
Index: index.php
============================================================
=======
RCS file:
/var/cvs/Geeklog-2.x/Geeklog-2.x/public_html/index.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** index.php 6 Jul 2006 15:50:37 -0000 1.21
--- index.php 16 Nov 2006 16:16:36 -0000 1.22
***************
*** 23,27 ****
* Timer object
*/
! require $glConf['path_system'] . 'Timer.php';
//Initialize and start timer
--- 23,27 ----
* Timer object
*/
! require getWD('path_system') . 'Timer.php';
//Initialize and start timer
***************
*** 33,62 ****
* Simply class that allows clean access to values in
config.php (see above)
*/
! require $glConf['path_system'] . 'Config.php';
/**
* Bring in the MVC controller
*/
! require $glConf['path_libraries'] .
'Geeklog/MVCnPHP/Controller.php';
/**
* Bring in Propel
*/
! require $glConf['path_libraries'] . 'propel/Propel.php';
/**
* DAO Factory
*/
! require $glConf['path_system'] . 'DataAccess/DAO.php';
/**
* Plugin model object
*/
! require $glConf['path_models'] . 'Gl2Plugin.php';
/**
* The propel user model class
*/
! require $glConf['path_models'] . 'Gl2User.php';
/**
--- 33,62 ----
* Simply class that allows clean access to values in
config.php (see above)
*/
! require getWD('path_system') . 'Config.php';
/**
* Bring in the MVC controller
*/
! require getWD('path_libraries') .
'Geeklog/MVCnPHP/Controller.php';
/**
* Bring in Propel
*/
! require getWD('path_libraries') . 'propel/Propel.php';
/**
* DAO Factory
*/
! require getWD('path_system') . 'DataAccess/DAO.php';
/**
* Plugin model object
*/
! require getWD('path_models') . 'Gl2Plugin.php';
/**
* The propel user model class
*/
! require getWD('path_models') . 'Gl2User.php';
/**
***************
*** 64,68 ****
* works.
*/
! require $glConf['path_models'] . 'Gl2Group.php';
/**
--- 64,68 ----
* works.
*/
! require getWD('path_models') . 'Gl2Group.php';
/**
***************
*** 70,79 ****
* that the event has been fired
*/
! require $glConf['path_system'] . 'ActionManager.php';
/**
* Geeklog log
*/
! require $glConf['path_system'] . 'Log.php';
// Initialize Propel
--- 70,79 ----
* that the event has been fired
*/
! require getWD('path_system') . 'ActionManager.php';
/**
* Geeklog log
*/
! require getWD('path_system') . 'Log.php';
// Initialize Propel
***************
*** 92,96 ****
* PEAR::HTTP_Session2
*/
! require $glConf['path_libraries'] .
'HTTP/Session2.php';
try {
--- 92,96 ----
* PEAR::HTTP_Session2
*/
! require getWD('path_libraries') . 'HTTP/Session2.php';
try {
***************
*** 114,118 ****
}
! require $glConf['path_system'] . 'PluginFactory.php';
// Now load the set of enabled plugins.
--- 114,118 ----
}
! require getWD('path_system') . 'PluginFactory.php';
// Now load the set of enabled plugins.
***************
*** 172,176 ****
// Now show the exception to the user
! require
"{$glConf['path_views']}Geeklog_showErrorView.php"
;
$errorView = new Geeklog_showErrorView($e);
$errorView->getView();
--- 172,176 ----
// Now show the exception to the user
! require getWD('path_views') .
'Geeklog_showErrorView.php';
$errorView = new Geeklog_showErrorView($e);
$errorView->getView();
_______________________________________________
geeklog2-cvs mailing list
geeklog2-cvs lists.geeklog.net
http://lists.geeklog.net/mailman/listinfo/geeklog2-cvs
|