Correctif, problème de double quote dans des doubles quotes dans SITE_DESCRIPTION.
modified: 0.3/xsaf3.php
This commit is contained in:
parent
45df6553d7
commit
943b9b4db8
1 changed files with 12 additions and 9 deletions
|
@ -110,15 +110,18 @@ function xsafimport($xsafremote, $max_exec_time) {
|
||||||
}else{
|
}else{
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
$fp = fopen('./'. $foldername .'/vvb.ini', 'w+');
|
$fp = fopen('./'. $foldername .'/vvb.ini', 'w+');
|
||||||
if( !fwrite($fp, '[VroumVroumBlogConfig]
|
if( !fwrite($fp, <<<EOF
|
||||||
SITE_TYPE="'. $sitetype .'"
|
[VroumVroumBlogConfig]
|
||||||
SITE_TITLE="'. $sitename .'"
|
SITE_TYPE="$sitetype"
|
||||||
SITE_DESCRIPTION="source: <a href="'. $siteurl .'">'. $sitename .'</a>"
|
SITE_TITLE="$sitename"
|
||||||
SITE_URL="'. $siteurl .'"
|
SITE_DESCRIPTION="source: <a href='$siteurl'>$sitename</a>"
|
||||||
FEED_URL="'. $rssurl .'"
|
SITE_URL="$siteurl"
|
||||||
ARTICLES_PER_PAGE="'. $articles_per_page .'"
|
FEED_URL="$rssurl"
|
||||||
UPDATE_INTERVAL="'. $update_interval .'"
|
ARTICLES_PER_PAGE="$articles_per_page"
|
||||||
UPDATE_TIMEOUT="'. $update_timeout .'"') ){
|
UPDATE_INTERVAL="$update_interval"
|
||||||
|
UPDATE_TIMEOUT="$update_timeout"
|
||||||
|
EOF
|
||||||
|
) ){
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
$infos = "\nImpossible d'écrire le fichier vvb.ini dans ".$foldername;
|
$infos = "\nImpossible d'écrire le fichier vvb.ini dans ".$foldername;
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in a new issue