Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restoreSymlinks.php mit \ oder / #7

Closed
do-while opened this issue Jul 15, 2017 · 2 comments
Closed

restoreSymlinks.php mit \ oder / #7

do-while opened this issue Jul 15, 2017 · 2 comments
Labels

Comments

@do-while
Copy link
Owner

Die gespeicherten Symlinks in restoreSymlinks.php sind, je nach Betriebssystem mit , / oder gemischt gespeichert. Das kann beim Restore unter einem anderen Betriebssystem ggf. zu Problemen führen.

@do-while do-while added the bug label Jul 15, 2017
@do-while
Copy link
Owner Author

Spooky:
Unter Windows werden wegen eines Bugs in PHP nur absolute Symlinks generiert.
Generell ist es aber eigentlich nicht notwendig die Symlinks gesondert zu sichern.
https://community.contao.org/de/showthread.php?67394-BackupDB-f%C3%BCr-Contao-4-4

Da sollte man ggf. vor dem Speichern absolute Symlinks in relative Symlinks umformen!

@do-while
Copy link
Owner Author

do-while commented Aug 5, 2017

Das mit dem PHP-Bug und den absoluten Symlinks in Windows kann ich nicht nachvollziehen. Meine Tests konnten auch in Windows relative Links anlegen.
Wenn das aber so war, werde ich mich in restoreSymlinks auch daran halten.

Die neue Version 1.1.0 hat das Problem gelöst. Es ist jetzt auch ein Transfer von Windows zu Linux und umgekehrt möglich.

@do-while do-while closed this as completed Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant