Migrate update
This commit is contained in:
parent
e3a1eaf672
commit
2ac5d3e65a
|
@ -30,6 +30,11 @@ foreach($liste_blog as $blog) {
|
||||||
copy($dir . $blog . '/articles.db', $dir . $foldername .'/articles.db');
|
copy($dir . $blog . '/articles.db', $dir . $foldername .'/articles.db');
|
||||||
deleteDir($dir . $blog );
|
deleteDir($dir . $blog );
|
||||||
|
|
||||||
|
|
||||||
|
if( strpos($ini['SITE_TITLE'], 'Autoblog de') !== false ) {
|
||||||
|
$ini['SITE_TITLE'] = preg_replace('#^Autoblog de (.*)$#', '$1', $ini['SITE_TITLE']);
|
||||||
|
}
|
||||||
|
|
||||||
switch(substr($ini['SITE_TITLE'], 0, 7)) {
|
switch(substr($ini['SITE_TITLE'], 0, 7)) {
|
||||||
case 'twitter':
|
case 'twitter':
|
||||||
case 'statusn':
|
case 'statusn':
|
||||||
|
|
Loading…
Reference in a new issue