コード例 #1
0
 protected function onActionBeforeExecute()
 {
     if ($this->getAction() == "updateIndex") {
         if (CRequest::getString("key") == CSettingsManager::getSettingValue("solr_key")) {
             return true;
         }
     }
     parent::onActionBeforeExecute();
 }