Skip to content

Commit

Permalink
Merge pull request #82 from philippebeck/dev
Browse files Browse the repository at this point in the history
Release 4.3.0
  • Loading branch information
philippebeck authored Jul 3, 2020
2 parents 391df03 + 6c900a5 commit 8a76757
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 30 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ The Controller part inherits the essential methods of the MainController & the F

The sessions are managed by Pam for user connection actions & for user alert actions, all with filters

All superglobals are managed by GlobalsController with filters too.
All superglobals are managed by the GlobalsController with filters too.

The contact part is managed by MailController with SwiftMailer package.
The service part is managed by the ServiceController.

## Summary

Expand Down Expand Up @@ -99,7 +99,7 @@ Pam has continuous support !

Documentation is available !

[![WebSite Status](https://img.shields.io/website-up-down-green-red/https/github.com/philippebeck/pam/wiki.svg?label=Documentation)](https://github.com/philippebeck/pam/wiki)
[![WebSite Status](https://img.shields.io/website-up-down-green-red/https/pam.philippebeck.net.svg?label=Documentation)](https://pam.philippebeck.net)

---

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "philippebeck/pam",
"version": "4.2.1",
"version": "4.3.0",
"type": "library",
"description": "Php Approachable Microframework",
"keywords": [
Expand Down
58 changes: 37 additions & 21 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions core/Controller/MainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ public function __construct()
parent::__construct();

$this->service = new ServiceController();
$this->twig = new Environment(new FilesystemLoader("../src/View"), array(
"cache" => false,
"debug" => true
));
$this->twig = new Environment(new FilesystemLoader(TWIG_TEMPLATES), array("cache" => TWIG_CACHE));

$this->twig->addExtension(new DebugExtension());
$this->twig->addExtension(new MainExtension());
$this->twig->addExtension(new GlobalsExtension());
$this->twig->addExtension(new ServiceExtension());
Expand Down

0 comments on commit 8a76757

Please sign in to comment.