Skip to content
Snippets Groups Projects
Commit b1974879 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #141852 remove outdated upgrade_db.php

parent 3bedddd5
Branches
Tags
3 merge requests!4230master in,!4227hotline#137304 : Worklfow : link sent in email for article validation in...,!4217hotline #141852 remove outdated upgrade_db.php
Pipeline #14811 passed with stage
in 58 minutes and 37 seconds
......@@ -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
```
- 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
<?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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment