CC-2184: Hardcoded CSS path should be relative path instead

This commit is contained in:
denise 2012-10-19 14:42:01 -04:00
parent 7d8079f770
commit 2527fa2e1a
12 changed files with 31 additions and 33 deletions

View file

@ -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;