diff --git a/dist/php/5.3.4.php b/dist/php/5.3.4.php index 6c9536072c..a432c2019e 100644 --- a/dist/php/5.3.4.php +++ b/dist/php/5.3.4.php @@ -11,7 +11,7 @@ rename(AJXP_INSTALL_PATH."/conf/bootstrap_repositories.php".".new-".date("Ymd"), AJXP_INSTALL_PATH."/conf/bootstrap_repositories.php"); } -echo "The bootstrap_context and bootstrap_repositories files were replaced by the new version, the .pre-update version is kept.\n"; +echo "
The bootstrap_context and bootstrap_repositories files were replaced by the new version, the .pre-update version is kept."; $sqliteUpgrade = 'CREATE TABLE ajxp_changes ( seq INTEGER PRIMARY KEY AUTOINCREMENT, @@ -245,13 +245,13 @@ } else { - echo "DB Already upgraded via the script"; + echo "
DB Already upgraded via the script
"; } } else { - echo "Nothing to do for the DB"; + echo "
Nothing to do for the DB
"; } @@ -298,17 +298,17 @@ function updateBaseHtaccessContent(){ } if(is_writeable(AJXP_INSTALL_PATH."/.htaccess")){ - echo 'Updating Htaccess'; + echo '
Updating Htaccess'; file_put_contents(AJXP_INSTALL_PATH."/.htaccess", $htContent); }else{ - echo 'Cannot write htaccess file, please copy and paste the code below:
'.$htContent.'
'; + echo '
Cannot write htaccess file, please copy and paste the code below:
'.$htContent.'
'; } } function upgradeRootRoleForWelcome(){ $rootRole = AuthService::getRole("ROOT_ROLE"); if(!empty($rootRole)){ - echo 'Upgrading Root Role to let users access the new welcome page'; + echo '
Upgrading Root Role to let users access the new welcome page
'; $rootRole->setAcl("ajxp_home", "rw"); $rootRole->setParameterValue("core.conf", "DEFAULT_START_REPOSITORY", "ajxp_home"); AuthService::updateRole($rootRole); @@ -322,10 +322,10 @@ function upgradeRootRoleForWelcome(){ $content = file_get_contents($publicHtaccess); if(strpos($content, "RewriteCond") === false){ if(is_writable($publicHtaccess)){ - echo '\nUpdating public folder htaccess file\n'; + echo '
Updating public folder htaccess file
'; file_put_contents($publicHtaccess, buildPublicHtaccessContent()); }else{ - echo 'You should update your public htaccess file to server the new shares :
'.buildPublicHtaccessContent().'
'; + echo '
You should update your public htaccess file to server the new shares :
'.buildPublicHtaccessContent().'
'; } } }