コード例 #1
0
 public function userCreated(UMEvent $e)
 {
     if ($e->getSource() instanceof AbstractEyeosUser) {
         $userDirPath = UMManager::getEyeosUserDirectory($e->getSource()->getName());
         $skel = utf8_basename($e->getSkel());
         AdvancedPathLib::cpdirs(SYSTEM_SKEL_PATH . '/' . USERS_DIR . '/profiles/' . $skel . '/skel_files/', $userDirPath, false);
         ProfileManager::executeProfile(new Profile($skel), $e->getSource());
     }
 }