Skip to content

Commit b4a64bd

Browse files
committed
fixed detected language var assigned to tpl
1 parent b519d5c commit b4a64bd

File tree

10 files changed

+12
-463
lines changed

10 files changed

+12
-463
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
- [PHP-DI](https://github.com/PHP-DI/PHP-DI) (dependency injection container)
55
- [Smarty](https://github.com/smarty-php/smarty) (template engine)
66
- [Stash](https://github.com/tedious/www.stashphp.com) (caching library)
7-
- [Zend Diactoros](https://github.com/zendframework/zend-diactoros) (request/response handlers)
7+
- [Zend Diactoros](https://github.com/zendframework/zend-diactoros) (request/response handlers)
8+
- [RelayPHP](http://relayphp.com/) (middleware dispatcher)

bootstrap - Copy.php

Lines changed: 0 additions & 133 deletions
This file was deleted.

bootstrap.GZ.php

Lines changed: 0 additions & 130 deletions
This file was deleted.

bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
$session = $container->get('\System\Session');
6363
$session->start();
6464
$session->set('admin_id',1);
65-
$session->set('requestURI',$requestURI);
65+
// $session->set('requestURI',$requestURI);
6666

6767
/**
6868
* Load System Modules
@@ -101,4 +101,4 @@
101101
]);
102102
$response = $relaydispatcher($request, $response);
103103
$emitter = new \Zend\Diactoros\Response\SapiEmitter;
104-
$emitter->emit($response);
104+
$emitter->emit($response);

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "webdevlabs/phreak",
33
"type": "framework",
44
"description": "Phreak! the ultimate development tool for lamez :)",
5-
"version": "0.0.3",
5+
"version": "0.0.4",
66
"keywords": ["php", "hmvc", "phreak", "framework"],
77
"homepage": "https://www.webdevlabs.com",
88
"license": "MIT",
@@ -13,8 +13,7 @@
1313
"phroute/phroute": "^2.1",
1414
"zendframework/zend-diactoros": "^1.3",
1515
"oscarotero/psr7-middlewares": "^3.20",
16-
"relay/relay": "~1.0",
17-
"willdurand/negotiation": "^2.2"
16+
"relay/relay": "~1.0"
1817
},
1918
"authors": [{
2019
"name": "Simeon Lyubenov",

0 commit comments

Comments
 (0)