Hello/Hi/Greetings,
Currently my upload directory resides on C:\inetpub\wwwroot but I would like to have all pictures saved on my mirror drive currently assigned as M:\
I tried editing the local files editor local config "$conf['upload_dir'] = 'm:\;" but obviously its wrong format as i get error:
PHP Parse error: syntax error, unexpected ''m:\';
' (T_ENCAPSED_AND_WHITESPACE) in C:\inetpub\wwwroot\plugins\LocalFilesEditor\include\functions.inc.php(45) : eval()'d code on line 7
Any suggestions?
Piwigo 11.5.0 Check for upgrade
Operating system: WINNT
PHP: 7.3.30 (Show info) [2021-09-14 03:02:08]
MySQL: 8.0.25 [2021-09-13 21:02:08]
Graphics Library: GD bundled (2.1.0 compatible)
Offline
Why 'm:\' (assuming that the trailing semicolon *within* the string was just a typo)
Effectively that is an unclosed string as the \' sequence escapes to a literal ' apostrophe.
Usually Windows is able to handle forward slashes in most places with paths, so 'm:/' would be good.
Try only 'M:' because upload_dir gets directory or file names appended with a slash as with '/name'.
Offline