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/mysqldump.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/mysqldump.php') diff --git a/bin/mysqldump.php b/bin/mysqldump.php index 7d8e960..3a63da9 100755 --- a/bin/mysqldump.php +++ b/bin/mysqldump.php @@ -4,10 +4,13 @@ declare(strict_types=1); +use App\Service\Config; +use App\Service\Backup; + chdir(dirname(__FILE__)); require "../vendor/autoload.php"; Config::load('../config/config.ini'); -require '../src/model/doctrine-bootstrap.php'; +require '../src/Model/doctrine-bootstrap.php'; $file_name = Backup::mySQLdump($entityManager, 'console'); // créer un nouveau backup echo "Un backup a été créé:\n" . realpath($file_name) . "\n"; \ No newline at end of file -- cgit v1.2.3