Войти
Введите цифры и буквы
One Delta Ten Tango
protected function getTrustRoot() { return preg_replace('#^(\w+\://[^/]+/)(.*)$#', '\1', Config::Get('path.root.web').'/'); /* return sprintf("%s://%s:%s%s/", $this->getScheme(), $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], '');*/ }
$sChar=$this->GetParamEventMatch(0,0); $iPage=$this->GetParamEventMatch(1,2) ? $this->GetParamEventMatch(1,2) : 1;
$this->AddEventPreg('/^abc$/i','/\w/i','/^(page(\d+))?$/i','EventShowAbc'); ... $sChar=$this->GetParamEventMatch(0,2); $iPage=$this->GetParamEventMatch(1,2) ? $this->GetParamEventMatch(1,2) : 1;
class PluginLsBlocks_BlockTopTopics extends Block { public function Exec() { $mPeriod = Config::Get('plugin.lsblocks.top_topics_period'); if ($mPeriod == 0) $mPeriod = 60*60*24*350*100; if ($aTopTopics = $this->Topic_GetTopicsRatingByDate(date("Y-m-d H:00:00", time()-$mPeriod), Config::Get('plugin.lsblocks.top_topics_max'))) { $oViewer = $this->Viewer_GetLocalViewer(); $oViewer->Assign('aTopTopics', $aTopTopics); $sTextResult = $oViewer->Fetch(Plugin::GetTemplatePath(__CLASS__)."block.top_topics_by_rating.tpl"); $this->Viewer_Assign('sTopTopics', $sTextResult); } } }
class PluginLsBlocks_BlockTopUsers extends Block { public function Exec() { if ($aResult = $this->User_GetUsersRating('good', 1, Config::Get('plugin.lsblocks.top_users_max'))) { $aTopUsers = $aResult['collection']; $oViewer = $this->Viewer_GetLocalViewer(); $oViewer->Assign('aTopUsers', $aTopUsers); $sTextResult = $oViewer->Fetch(Plugin::GetTemplatePath(__CLASS__)."block.top_users_by_rating.tpl"); $this->Viewer_Assign('sTopUsers', $sTextResult); } } }
return_to u'http://test.ru/login/openid/enter/finish/?janrain_nonce=2010-05-10T16%3A09%3A17ZEDdOUu' not under trust_root u'http://www.test.ru/'
буду поправлять и высылать обновления
livestreet.ru/blog/1912.html
может потому что у меня нет писем
диз ядовит слегка
необходимо установить.
наиная со строки 165
1.
2.
яндекс например отвечает