From f27cca08ff786ceff1870147f6d6bad14d71117f Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 23 Oct 2026 00:47:32 +0200 Subject: =?UTF-8?q?dossiers=20avec=20majuscule,=20namespace=20pour=20toute?= =?UTF-8?q?s=20les=20classes,=20autoload=20psr-4,=20UserDataService::creat?= =?UTF-8?q?eZip=20d=C3=A9plac=C3=A9=20dans=20Backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/restore_db.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/restore_db.php') diff --git a/bin/restore_db.php b/bin/restore_db.php index c54aaa9..3fcddc1 100755 --- a/bin/restore_db.php +++ b/bin/restore_db.php @@ -4,6 +4,9 @@ declare(strict_types=1); +use App\Service\Config; +use App\Service\Backup; + if($argc === 2){ if(pathinfo($argv[1])['extension'] !== 'sql'){ try{ @@ -21,7 +24,7 @@ if($argc === 2){ chdir(dirname(__FILE__)); // /chemin/absolu/bin/restore_db.php require "../vendor/autoload.php"; Config::load('../config/config.ini'); -require '../src/model/doctrine-bootstrap.php'; +require '../src/Model/doctrine-bootstrap.php'; // backup sur le système de fichiers en paramètre if($argc === 2){ -- cgit v1.2.3