Permalink
Browse files

Fix some mostakes that happened during the 5.0 release

  • Loading branch information...
carakas committed Jan 24, 2018
1 parent bf531dd commit fc06545bf13fb63689ebce7848fa399988979f2a
Showing with 1 addition and 6 deletions.
  1. +1 −1 UPGRADE_5.0.md
  2. +0 −5 src/Frontend/Core/Engine/Base/Config.php
@@ -206,7 +206,7 @@ SPOON_CHARSET is removed. From now on you need to get the charset by using the k

## PATH_WWW

PATH_WWW is removed. From now on you need to get the path to the web directory by using the site.path_www parameter, f.e.
PATH_WWW is deprecated. From now on you need to get the path to the web directory by using the site.path_www parameter, f.e.
Twig has trouble with traversing directories, so in that or similar cases you can wrap it with the `realpath` function.

$this->getContainer()->getParameter('site.path_www')
@@ -84,11 +84,6 @@ public function getPossibleActions(): array
return $this->possibleActions;
}
public function getPossibleAJAXActions(): array
{
return $this->possibleAJAXActions;
}
/**
* Set the possible actions, based on files in folder.
* You can disable action in the config file. (Populate $disabledActions)

0 comments on commit fc06545

Please sign in to comment.