From 13593e2d56091a0bb430e1dc31b8f1f999c4a897 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 6 Dec 2006 16:47:43 +0000 Subject: [PATCH] "Updates for new location of framework files" --- document_root/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/document_root/index.php b/document_root/index.php index bc175e65..6611e670 100644 --- a/document_root/index.php +++ b/document_root/index.php @@ -1,13 +1,14 @@ <?php require('./config.php'); -set_include_path(LIBRARY_PATH); +set_include_path(FRAMEWORK_PATH . '/library'); set_include_path(get_include_path() . PATH_SEPARATOR . APPLICATION_PATH); set_include_path(get_include_path() . PATH_SEPARATOR . APPLICATION_PATH . '/library'); set_include_path(get_include_path() . PATH_SEPARATOR . APPLICATION_PATH . '/models/rows'); set_include_path(get_include_path() . PATH_SEPARATOR . APPLICATION_PATH . '/models/tables'); require_once('Zend.php'); spl_autoload_register(array('Zend', 'loadClass')); +spl_autoload_register(array('Nmc', 'loadApplicationClass')); //$appReg = Nmc_Registry_Application::getInstance(); $db_config = array('host' => $db_host, -- GitLab