예제 #1
0
파일: Signon.php 프로젝트: visapi/amun
 public function onLoad()
 {
     parent::onLoad();
     $this->container->setParameter('session.name', 'amun-' . md5($this->config['psx_url']));
     $this->container->setParameter('user.id', User::findUserId($this->getSession(), $this->getRegistry()));
     // dependencies
     $this->base = $this->getBase();
     $this->config = $this->getConfig();
     $this->sql = $this->getSql();
     $this->registry = $this->getRegistry();
     $this->session = $this->getSession();
     $this->user = $this->getUser();
 }