@@ -8,7 +8,7 @@ |
||
| 8 | 8 | "session" => [ |
| 9 | 9 | "active" => defined("ANAX_WITH_SESSION") && ANAX_WITH_SESSION, // true|false |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $session = new \Anax\Session\Session(); |
| 13 | 13 | |
| 14 | 14 | // Load the configuration files |
@@ -8,9 +8,9 @@ |
||
| 8 | 8 | "services" => [ |
| 9 | 9 | "configuration" => [ |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $config = new \Anax\Configure\Configuration(); |
| 13 | - $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php"; |
|
| 13 | + $dirs = require ANAX_INSTALL_PATH."/config/configuration.php"; |
|
| 14 | 14 | $config->setBaseDirectories($dirs); |
| 15 | 15 | return $config; |
| 16 | 16 | } |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | "services" => [ |
| 7 | 7 | "textfilter" => [ |
| 8 | 8 | "shared" => true, |
| 9 | - "callback" => function () { |
|
| 9 | + "callback" => function() { |
|
| 10 | 10 | $filter = new \Anax\TextFilter\TextFilter(); |
| 11 | - if (is_dir(ANAX_INSTALL_PATH . "/content")) { |
|
| 11 | + if (is_dir(ANAX_INSTALL_PATH."/content")) { |
|
| 12 | 12 | $filter->setFilterConfig("frontmatter", [ |
| 13 | - "include_base" => ANAX_INSTALL_PATH . "/content" |
|
| 13 | + "include_base" => ANAX_INSTALL_PATH."/content" |
|
| 14 | 14 | ]); |
| 15 | 15 | } |
| 16 | 16 | return $filter; |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | "services" => [ |
| 9 | 9 | "content" => [ |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $content = new \Anax\Content\FileBasedContent(); |
| 13 | 13 | $content->setDI($this); |
| 14 | 14 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | "response" => [ |
| 10 | 10 | "shared" => true, |
| 11 | 11 | //"callback" => "\Anax\Response\Response", |
| 12 | - "callback" => function () { |
|
| 12 | + "callback" => function() { |
|
| 13 | 13 | $obj = new \Anax\Response\ResponseUtility(); |
| 14 | 14 | $obj->setDI($this); |
| 15 | 15 | return $obj; |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | // Paths to look for views, without ending slash. |
| 7 | 7 | "paths" => [ |
| 8 | 8 | //ANAX_APP_PATH . "/view", |
| 9 | - ANAX_INSTALL_PATH . "/view", |
|
| 10 | - ANAX_INSTALL_PATH . "/vendor/anax/view/view", |
|
| 9 | + ANAX_INSTALL_PATH."/view", |
|
| 10 | + ANAX_INSTALL_PATH."/vendor/anax/view/view", |
|
| 11 | 11 | ], |
| 12 | 12 | |
| 13 | 13 | // File suffix for template files |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | return [ |
| 6 | 6 | // Use for styling the menu |
| 7 | 7 | //"basePath" => ANAX_APP_PATH . "/cache", |
| 8 | - "basePath" => ANAX_INSTALL_PATH . "/cache/anax", |
|
| 8 | + "basePath" => ANAX_INSTALL_PATH."/cache/anax", |
|
| 9 | 9 | |
| 10 | 10 | // Default time to live until item expires |
| 11 | 11 | "timeToLive" => 7 * 24 * 60 * 60, |
@@ -9,5 +9,5 @@ |
||
| 9 | 9 | |
| 10 | 10 | return [ |
| 11 | 11 | //ANAX_APP_PATH . "/config", |
| 12 | - ANAX_INSTALL_PATH . "/config", |
|
| 12 | + ANAX_INSTALL_PATH."/config", |
|
| 13 | 13 | ]; |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | return [ |
| 6 | 6 | // Use for styling the menu |
| 7 | 7 | //"basePath" => ANAX_APP_PATH . "/content", |
| 8 | - "basePath" => ANAX_INSTALL_PATH . "/content", |
|
| 8 | + "basePath" => ANAX_INSTALL_PATH."/content", |
|
| 9 | 9 | |
| 10 | 10 | // Use or ignore using the cache, default is false. |
| 11 | 11 | // During development it might be good to ignore the cache, but not |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | // Wrapper for section of revision history |
| 41 | 41 | "revision-history" => [ |
| 42 | - "start" => "\n\n\n" . t("Revision history") . " {#revision}\n-------------\n\n<span class=\"revision-history\">\n", |
|
| 42 | + "start" => "\n\n\n".t("Revision history")." {#revision}\n-------------\n\n<span class=\"revision-history\">\n", |
|
| 43 | 43 | "end" => "</span>\n", |
| 44 | 44 | "class" => "revision-history", |
| 45 | 45 | ], |