mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
- bug 854: better checks of directory creations ( local_data_dir, templates_c, tmp etc...)
git-svn-id: http://piwigo.org/svn/trunk@2497 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4002f708e1
commit
efa7411875
5 changed files with 76 additions and 51 deletions
2
feed.php
2
feed.php
|
@ -195,7 +195,7 @@ foreach($dates as $date_detail)
|
|||
}
|
||||
|
||||
$fileName= $conf['local_data_dir'].'/tmp';
|
||||
@mkdir($fileName); // just in case
|
||||
mkgetdir($fileName); // just in case
|
||||
$fileName.='/feed.xml';
|
||||
// send XML feed
|
||||
echo $rss->saveFeed('RSS2.0', $fileName, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue