# deny: # class: sfDenyFromNonMobileFilter
$agent = $_SERVER['HTTP_USER_AGENT']; if(ereg("^DoCoMo", $agent)||ereg("^J-PHONE|^Vodafone|^SoftBank", $agent)|| ereg("^UP.Browser|^KDDI", $agent)){ require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php'); $configuration = ProjectConfiguration::getApplicationConfiguration('mobile_frontend', 'prod', false); sfContext::createInstance($configuration)->dispatch(); }else{//PC require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php'); $configuration = ProjectConfiguration::getApplicationConfiguration('pc_frontend', 'prod', false); sfContext::createInstance($configuration)->dispatch(); }
getAuthMode(); if($dispAuthMode == "MobileUID"){ $dispAuthMode = "簡単ログイン"; } if($dispAuthMode == "MailAddress"){ $dispAuthMode = "ログイン"; } ?>
関西大学総合情報学部2007年卒。 卒業後「非同期」「主観事典」をテーマにした会社設立。パンデイロやvimなどの打楽器が好き。 Backbone.js 千利休 木村蒹葭堂