diff options
Diffstat (limited to 'app/Schema')
| -rw-r--r-- | app/Schema/Migration22.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Schema/Migration22.php b/app/Schema/Migration22.php index 8a73348adf..1f14eb27ef 100644 --- a/app/Schema/Migration22.php +++ b/app/Schema/Migration22.php @@ -51,7 +51,7 @@ class Migration22 implements MigrationInterface { // $WT_DATA_DIR = /home/fisharebest/public_html/webtrees/data/ // Therefore we need to calculate ../../../my_pictures/ $_media_dir = ''; - $_tmp_dir = $WT_DATA_DIR; + $_tmp_dir = $WT_DATA_DIR; while (strpos($_mf_dir, $_tmp_dir) !== 0) { $_media_dir .= '../'; $_tmp_dir = preg_replace('~[^/\\\\]+[/\\\\]$~', '', $_tmp_dir); |
