chore(legacy): use Config::getBasePath helper
Replace Application_Common_OsPath::getBaseDir with Config::getBasePath.
This commit is contained in:
parent
712ecd70b4
commit
72960593c7
34 changed files with 288 additions and 297 deletions
|
@ -9,7 +9,7 @@ class IndexController extends Zend_Controller_Action
|
|||
public function indexAction()
|
||||
{
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
$baseUrl = Config::getBasePath();
|
||||
$this->view->headTitle(Application_Model_Preference::GetHeadTitle());
|
||||
$this->view->headScript()->appendFile($baseUrl . 'js/libs/jquery-1.8.3.min.js?' . $CC_CONFIG['airtime_version'], 'text/javascript');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue