Created
May 22, 2013 07:32
-
-
Save putzflorian/5625862 to your computer and use it in GitHub Desktop.
pimcore backenduser für frontend verwenden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if($_COOKIE["pimcore_admin_sid"]) { | |
| $user = Pimcore_Tool_Authentication::authenticateSession(); | |
| if($user instanceof User) { | |
| // bist eingeloggt | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment