Issue #0001653: require_once path
This commit is contained in:
parent
6cfde3219d
commit
99abf405a4
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user