|
@@ -54,7 +54,7 @@ discard block |
|
|
block discarded – undo |
|
54
|
54
|
|
|
55
|
55
|
final public function __clone() |
|
56
|
56
|
{ |
|
57
|
|
- throw new \Exception('Clone is not allowed against' . get_class($this)); |
|
|
57
|
+ throw new \Exception('Clone is not allowed against'.get_class($this)); |
|
58
|
58
|
} |
|
59
|
59
|
|
|
60
|
60
|
public function __construct(array $values = array()) |
|
@@ -371,7 +371,7 @@ discard block |
|
|
block discarded – undo |
|
371
|
371
|
$roles = array(); |
|
372
|
372
|
foreach ($AuthorityRoles as $AuthorityRole) { |
|
373
|
373
|
// 管理画面でメニュー制御するため相対パス全てをセット |
|
374
|
|
- $roles[] = $app['request']->getBaseUrl() . '/' . $app['config']['admin_route'] . $AuthorityRole->getDenyUrl(); |
|
|
374
|
+ $roles[] = $app['request']->getBaseUrl().'/'.$app['config']['admin_route'].$AuthorityRole->getDenyUrl(); |
|
375
|
375
|
} |
|
376
|
376
|
|
|
377
|
377
|
$app['twig']->addGlobal('AuthorityRoles', $roles); |
Please login to merge, or discard this patch.