[Gnucash-changes] r14306 - htdocs/trunk - fix constant not
available in php4.
Joshua Sled
jsled at cvs.gnucash.org
Sat Jun 3 15:18:19 EDT 2006
Author: jsled
Date: 2006-06-03 15:18:18 -0400 (Sat, 03 Jun 2006)
New Revision: 14306
Trac: http://svn.gnucash.org/trac/changeset/14306
Modified:
htdocs/trunk/atom.php
Log:
fix constant not available in php4.
Modified: htdocs/trunk/atom.php
===================================================================
--- htdocs/trunk/atom.php 2006-06-03 19:15:10 UTC (rev 14305)
+++ htdocs/trunk/atom.php 2006-06-03 19:18:18 UTC (rev 14306)
@@ -12,6 +12,7 @@
$charset = "iso-8859-1";
header("Content-Type: $contentType; charset=$charset");
+ $DATE_ATOM = "Y-m-d\TH:i:sP";
$entry_count = 10;
$newsdir = "${top_dir}/news/";
?>
@@ -34,7 +35,7 @@
$most_recent = file(key($news_items));
$most_recent_update = chop($most_recent[1]);
?>
- <updated><?= date(DATE_ATOM, strtotime($most_recent_update)) ?></updated>
+ <updated><?= date($DATE_ATOM, strtotime($most_recent_update)) ?></updated>
<?php for (reset($news_items); $key = key($news_items); next($news_items))
{
@@ -51,7 +52,7 @@
<name>GnuCash Developers</name>
<email>gnucash-devel at gnucash.org</email>
</author>
- <updated><?= date(DATE_ATOM, strtotime($update_date)) ?></updated>
+ <updated><?= date($DATE_ATOM, strtotime($update_date)) ?></updated>
<content type="html">
<? for ($i=2; $i<$n; $i++) {
print htmlentities($fa[$i]);
More information about the gnucash-changes
mailing list