diff --git a/application/controllers/WorldcheckController.php b/application/controllers/WorldcheckController.php index 45ab31b65..915e1cd22 100644 --- a/application/controllers/WorldcheckController.php +++ b/application/controllers/WorldcheckController.php @@ -5,9 +5,9 @@ class WorldcheckController extends Zend_Controller_Action public function init() { - require_once '/WorldCheck/WsWorldCheck.php'; - require_once '/WorldCheck/SessionWorldcheck.php'; - require_once '/Scores/Cache.php'; + require_once 'WorldCheck/WsWorldCheck.php'; + require_once 'WorldCheck/SessionWorldcheck.php'; + require_once 'Scores/Cache.php'; $configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/applicationWC.ini'); $this->wcConfig = $configWC->worldcheck->toArray(); @@ -92,7 +92,7 @@ class WorldcheckController extends Zend_Controller_Action //end //paginate results list - Zend_View_Helper_PaginationControl::setDefaultViewPartial('/worldcheck/controls.phtml'); + Zend_View_Helper_PaginationControl::setDefaultViewPartial('worldcheck/controls.phtml'); $paginator = Zend_Paginator::factory($resultWC); $this->view->paginator = $paginator; $itemCount = $this->wcConfig['page']['items'];