Completed
Push — develop ( e53a3e...2fad4a )
by greg
08:09
created
config/module.config.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
             'playgroundcore_entity' => array(
12 12
                 'class' => 'Doctrine\ORM\Mapping\Driver\AnnotationDriver',
13 13
                 'cache' => 'array',
14
-                'paths' => __DIR__ . '/../src/PlaygroundCore/Entity'
14
+                'paths' => __DIR__.'/../src/PlaygroundCore/Entity'
15 15
             ),
16 16
 
17 17
             'orm_default' => array(
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         'rule_providers' => array(
54 54
             'BjyAuthorize\Provider\Rule\Config' => array(
55 55
                 'allow' => array(
56
-                    array(array('admin'), 'core',           array('dashboard', 'edit')),
56
+                    array(array('admin'), 'core', array('dashboard', 'edit')),
57 57
                 ),
58 58
             ),
59 59
         ),
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
                 'collections' => array(    
83 83
                     'core_flags' => array(
84 84
                         'assets' => array(
85
-                            __DIR__ . '/../view/images/flag/*.png',
85
+                            __DIR__.'/../view/images/flag/*.png',
86 86
                         ),
87 87
                         'options' => array(
88 88
                             'move_raw' => true,
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
         'translation_file_patterns' => array(
491 491
             array(
492 492
                 'type'         => 'phpArray',
493
-                'base_dir'     => __DIR__ . '/../language',
493
+                'base_dir'     => __DIR__.'/../language',
494 494
                 'pattern'      => '%s.php',
495 495
                 'text_domain'  => 'playgroundcore'
496 496
             ),
@@ -499,8 +499,8 @@  discard block
 block discarded – undo
499 499
 
500 500
     'view_manager' => array(
501 501
         'template_path_stack' => array(
502
-            __DIR__ . '/../view/admin',
503
-            __DIR__ . '/../view/frontend',
502
+            __DIR__.'/../view/admin',
503
+            __DIR__.'/../view/frontend',
504 504
         ),
505 505
     ),
506 506
 
Please login to merge, or discard this patch.
src/PlaygroundCore/Controller/Frontend/SwitchLocaleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $locale = $this->getEvent()->getRouteMatch()->getParam('locale');
34 34
         $context = $this->getEvent()->getRouteMatch()->getParam('area');
35
-        $redirect = (!empty($this->getEvent()->getRouteMatch()->getParam('redirect')))? urldecode($this->getEvent()->getRouteMatch()->getParam('redirect')) : '/';
35
+        $redirect = (!empty($this->getEvent()->getRouteMatch()->getParam('redirect'))) ? urldecode($this->getEvent()->getRouteMatch()->getParam('redirect')) : '/';
36 36
 
37 37
         $cookie = new \Zend\Http\Header\SetCookie('pg_locale_'.$context, $locale, time() + 60*60*24*365, '/');
38 38
         $this->getResponse()->getHeaders()->addHeader($cookie);
Please login to merge, or discard this patch.