diff --git a/UPGRADE.fr.md b/UPGRADE.fr.md index 396b896989778c2c96ca1302a9d7e650b7f331f9..144e919c1f77f9170c0ec453dc83b29a162e8cf5 100644 --- a/UPGRADE.fr.md +++ b/UPGRADE.fr.md @@ -28,6 +28,6 @@ Vous devez positionner vos sources sur le tag choisi (vous référer notamment a La base de données peut être mise à jour en ligne de commande ou via l'interface. ``` -$ php cosmogramme/php/upgrade_db.php +$ php scripts/upgrade_db.php ``` diff --git a/VERSIONS_HOTLINE/141852 b/VERSIONS_HOTLINE/141852 new file mode 100644 index 0000000000000000000000000000000000000000..f7a484275c4d35545bf278811d10325461b44f04 --- /dev/null +++ b/VERSIONS_HOTLINE/141852 @@ -0,0 +1 @@ + - ticket #141852 : Hébergement : Suppression d'un fichier obsolète de mise à jour de la base de données. Il faut utiliser exclusivement le fichier dans [mon-bokeh]/scripts/upgrade_db.php \ No newline at end of file diff --git a/cosmogramme/php/upgrade_db.php b/cosmogramme/php/upgrade_db.php deleted file mode 100644 index b211d6af14de9f59e9d9d82f7652c55db4258531..0000000000000000000000000000000000000000 --- a/cosmogramme/php/upgrade_db.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -$basePath = dirname(realpath(__FILE__)); -require_once 'classes/classe_cosmopaths.php'; - -$cosmo_path = new CosmoPaths(); -define('BASE_URL', $cosmo_path->getBaseUrl()); - -require_once($basePath.'/../storm_init.php'); -(new Class_Migration_ScriptPatchs())->runFrom(262); -(new Class_Template_Update)->run(); -?> \ No newline at end of file