Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 137 → Редакция 138

/trunk/feed.php
68,7 → 68,7
$result .= "<link href=\"http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/\" />\n";
$result .= "<updated>".$lastbuilddate."</updated>\n";
$result .= "<author>\n<name>\n".$core->getSetting('codename',$db)."</name>\n</author>\n";
$result .= "<id>urn:uuid:".uniqid("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/",true)."</id>\n";
$result .= "<id>urn:uuid:".$core->getUUID("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/")."</id>\n";
$query =& $db->query("SELECT * FROM changelog ORDER BY log_id DESC LIMIT 10");
if ($query->numRows()>0) {
while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
76,7 → 76,7
$result .= "<title type=\"html\">".stripslashes($log["log_title"])."</title>\n";
$result .= "<link href=\"http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."\" />\n";
$result .= "<summary type=\"html\"><![CDATA[".stripslashes($log["log_desc"])."]]></summary>\n";
$result .= "<id>urn:uuid:".uniqid("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"],true)."/changelog.php?id=".$log["log_id"])."</id>\n";
$result .= "<id>urn:uuid:".$core->getUUID("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</id>\n";
$updated = str_replace(" ","T",$log["log_record"]);
$updated .= "+06:00";
$result .= "<updated>".$updated."</updated>\n";