Skip to content

Instantly share code, notes, and snippets.

@putzflorian
Created May 22, 2013 07:32
Show Gist options
  • Select an option

  • Save putzflorian/5625862 to your computer and use it in GitHub Desktop.

Select an option

Save putzflorian/5625862 to your computer and use it in GitHub Desktop.
pimcore backenduser für frontend verwenden
<?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