backstageel / cakephp-gentelella-theme

CakePHP Gentelella Theme
Apache License 2.0
42 stars 29 forks source link

Incompatability on php5 #5

Closed timalive closed 5 years ago

timalive commented 6 years ago

Hi, thanks for a great plugin. My only problem is that it doesn't seem to run on PHP5.6, contrary to what is indicated in composer file.

The use of the ?? operand is only supported from php7, but is used in src/Template/Element/nav-top.ctp <?php echo $this->request->session()->read('Auth.User.name') ?? $this->request->session()->read('Auth.User.username') ?? 'John Doe'; ?>