Commit 5f1d2078 authored by Franco Fichtner's avatar Franco Fichtner

widgets: rss crash report

parent 83ec1073
......@@ -139,10 +139,8 @@ if (!empty($config['widgets']['rsswidgettextlength']) && is_numeric($config['wid
<div id="rss-widgets" style="padding: 5px; height: <?=$rsswidgetheight?>px; overflow:scroll;">
<?php
if (!is_dir("/tmp/simplepie")) {
mkdir("/tmp/simplepie");
mkdir("/tmp/simplepie/cache");
}
@mkdir('/tmp/simplepie');
@mkdir('/tmp/simplepie/cache');
exec("chmod a+rw /tmp/simplepie/.");
exec("chmod a+rw /tmp/simplepie/cache/.");
$feed = new SimplePie();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment