/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
global $user; $adminAble= FALSE; foreach($adminRoles as $role) { } if($adminAble) { return inicio; } else { return user; }