Migrate update

This commit is contained in:
ArthurHoaro 2013-02-24 15:00:07 +01:00
parent e3a1eaf672
commit 2ac5d3e65a

View file

@ -30,6 +30,11 @@ foreach($liste_blog as $blog) {
copy($dir . $blog . '/articles.db', $dir . $foldername .'/articles.db');
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)) {
case 'twitter':
case 'statusn':