Issue #0001653: require_once path

This commit is contained in:
Aram HARUTYUNYAN 2013-10-04 06:43:01 +00:00
parent 6cfde3219d
commit 99abf405a4

View File

@ -5,8 +5,8 @@ class WorldcheckController extends Zend_Controller_Action
public function init()
{
require_once 'WorldCheck/WsWorldCheck.php';
require_once 'WorldCheck/SessionWorldcheck.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');
@ -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'];