Hi
I encountered a problem with acl, where a missing acl entry for a user
is treated as an error. How could i interpret a missing acl entry
as denial.
So, if a user doesnt have an ACL entry with his name, then cakephp
would assume that the user does not have the requested
permission...because
Thank you - that answers my question perfectly. At the moment I only need
to use it in views so a Helper routine addresses the need but thanks for
the tip if I need to use it elsewhere.
Cheers
Gj
On Wednesday, 21 March 2012 19:01:20 UTC, Graham wrote:
>
> Dear all, still new to CakePHP but lea
Sorry, now in english:
In my cakePHP-environment (version 2) the following code in
AppController:
$locale = $this->Session->read('Config.language');
//if ($locale && file_exists(VIEWS . DS . $this-
>viewPath .DS . $locale . DS)) {
if ($locale && file_exists($_SERVER['DOCU
Problem SOLVED!
*php 5.4 needs public and private keywords with function and attributes!!!*
Am Mittwoch, 21. März 2012 10:20:55 UTC+1 schrieb traedamatic:
>
> Hello,
>
> I have a strange problem. I run on Cakephp 2.1 App on PHP 5.4 and 5.3.10.
> On PHP 5.3.10 is everything fine but on 5.4 i get
2012/3/23 Ivo Wolgensinger
> Hallo zusammen
>
> Ich habe in meiner cakePHP-Umgebung (Version 2) folgenden Code im
> AppController:
>
>$locale = $this->Session->read('Config.language');
>//if ($locale && file_exists(VIEWS . DS . $this->viewPath .
> DS . $locale . DS)) {
>if
Hallo zusammen
Ich habe in meiner cakePHP-Umgebung (Version 2) folgenden Code im
AppController:
$locale = $this->Session->read('Config.language');
//if ($locale && file_exists(VIEWS . DS . $this->viewPath .
DS . $locale . DS)) {
if ($locale && file_exists($_SERVER['DOCUMEN