CC-2184: Hardcoded CSS path should be relative path instead
This commit is contained in:
parent
7d8079f770
commit
2527fa2e1a
12 changed files with 31 additions and 33 deletions
|
@ -6,9 +6,9 @@ class Application_Form_Preferences extends Zend_Form
|
|||
|
||||
public function init()
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
|
||||
$this->setAction($CC_CONFIG['base_dir'] . '/Preference');
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
||||
$this->setAction($baseUrl . '/Preference');
|
||||
$this->setMethod('post');
|
||||
|
||||
$isSaas = Application_Model_Preference::GetPlanLevel() == 'disabled'?false:true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue