Completed
Push — devel ( f7aad9...ebfb1d )
by Miguel
04:58
created
community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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';
Please login to merge, or discard this patch.