@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @return string |
132 | 132 | */ |
133 | - protected function _getCustomIncludeFilename($position='') { |
|
133 | + protected function _getCustomIncludeFilename($position = '') { |
|
134 | 134 | $key = 'custom_include_file'; |
135 | 135 | $key .= ($position) ? '_'.$position : ''; |
136 | 136 | return $this->_formatTemplate( |
@@ -192,8 +192,8 @@ discard block |
||
192 | 192 | */ |
193 | 193 | protected function _getAdminFrontname() { |
194 | 194 | if (Mage::getStoreConfig('admin/url/use_custom_path')) { |
195 | - if(Mage::getStoreConfig('web/url/use_store')) { |
|
196 | - return Mage::getModel('core/store')->load(0)->getCode() . "/" . Mage::getStoreConfig('admin/url/custom_path'); |
|
195 | + if (Mage::getStoreConfig('web/url/use_store')) { |
|
196 | + return Mage::getModel('core/store')->load(0)->getCode()."/".Mage::getStoreConfig('admin/url/custom_path'); |
|
197 | 197 | } else { |
198 | 198 | return Mage::getStoreConfig('admin/url/custom_path'); |
199 | 199 | } |
@@ -1020,7 +1020,7 @@ discard block |
||
1020 | 1020 | $vars['vcl_synth'] = $this->_vcl_sub_synth(); |
1021 | 1021 | } |
1022 | 1022 | |
1023 | - foreach (array('','top') as $position) { |
|
1023 | + foreach (array('', 'top') as $position) { |
|
1024 | 1024 | $customIncludeFile = $this->_getCustomIncludeFilename($position); |
1025 | 1025 | if (is_readable($customIncludeFile)) { |
1026 | 1026 | $key = 'custom_vcl_include'; |