projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/platal-0.10.2'
[platal.git]
/
include
/
rss.inc.php
diff --git
a/include/rss.inc.php
b/include/rss.inc.php
index
e45a822
..
2ee4bd5
100644
(file)
--- a/
include/rss.inc.php
+++ b/
include/rss.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
08
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-34,7
+34,7
@@
function init_rss($template, $alias, $hash, $require_uid = true)
if ($template) {
$page->assign('rss_hash', $hash);
if ($template) {
$page->assign('rss_hash', $hash);
-
header('Content-Type: application/rss+xml; charset=utf8'
);
+
pl_content_headers("application/rss+xml"
);
}
return is_null($user) ? null : $user->id();
}
}
return is_null($user) ? null : $user->id();
}