@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | const FORBIDDEN = 'FORBIDDEN'; |
10 | 10 | |
11 | 11 | protected $options = array( |
12 | - 'file' => null, // File containing the authorized emails |
|
12 | + 'file' => null, // File containing the authorized emails |
|
13 | 13 | ); |
14 | 14 | |
15 | 15 | protected $messageTemplates = array( |
@@ -19,9 +19,9 @@ discard block |
||
19 | 19 | public function __construct($options = null) |
20 | 20 | { |
21 | 21 | if (is_string($options)) { |
22 | - $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim($options, '/')); |
|
22 | + $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim($options, '/')); |
|
23 | 23 | } elseif (is_array($options)) { |
24 | - $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim(reset($options), '/')); |
|
24 | + $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim(reset($options), '/')); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | parent::__construct($this->options); |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | 'list' => array( |
453 | 453 | 'type' => 'Segment', |
454 | 454 | 'options' => array( |
455 | - 'route' => '/list', |
|
455 | + 'route' => '/list', |
|
456 | 456 | 'defaults' => array( |
457 | 457 | 'controller' => 'playgroundcore_admin_website', |
458 | 458 | 'action' => 'list', |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | 'edit-active' => array( |
464 | 464 | 'type' => 'Segment', |
465 | 465 | 'options' => array( |
466 | - 'route' => '/edit-active/[:websiteId]', |
|
466 | + 'route' => '/edit-active/[:websiteId]', |
|
467 | 467 | 'defaults' => array( |
468 | 468 | 'controller' => 'playgroundcore_admin_website', |
469 | 469 | 'action' => 'editactive', |
@@ -572,6 +572,6 @@ discard block |
||
572 | 572 | 'NotInBlacklist' => 'PlaygroundCore\Validator\Blacklist', |
573 | 573 | 'InMailDomainList' => 'PlaygroundCore\Validator\MailDomain', |
574 | 574 | 'InEmailList' => 'PlaygroundCore\Validator\EmailList', |
575 | - ), |
|
575 | + ), |
|
576 | 576 | ), |
577 | 577 | ); |