diff options
Diffstat (limited to 'bin/restore_db.php')
| -rwxr-xr-x | bin/restore_db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/restore_db.php b/bin/restore_db.php index baa1e67..c54aaa9 100755 --- a/bin/restore_db.php +++ b/bin/restore_db.php | |||
| @@ -15,7 +15,7 @@ if($argc === 2){ | |||
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | $file_name = pathinfo($argv[1])['basename']; | 17 | $file_name = pathinfo($argv[1])['basename']; |
| 18 | $file_data = '../' . file_get_contents($argv[1]); | 18 | $file_data = file_get_contents($argv[1]); |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | chdir(dirname(__FILE__)); // /chemin/absolu/bin/restore_db.php | 21 | chdir(dirname(__FILE__)); // /chemin/absolu/bin/restore_db.php |
