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

enable setup.php to tidy up inputs from unwanted characters #154

Closed
dh3wr opened this issue Jul 5, 2017 · 3 comments
Closed

enable setup.php to tidy up inputs from unwanted characters #154

dh3wr opened this issue Jul 5, 2017 · 3 comments

Comments

@dh3wr
Copy link

dh3wr commented Jul 5, 2017

Just generated config.php:

<?php
# This is an auto-generated config-file!
# Be careful, when manual editing this!

date_default_timezone_set('UTC');
define("MMDVMLOGPATH", "/var/log/MMDVMHost/"");
define("MMDVMINIPATH", "/home/pi/"");

Double " at the end of two lines

@dh3wr
Copy link
Author

dh3wr commented Jul 5, 2017

My error, C&P from the old file got the " into the web form

@dh3wr dh3wr closed this as completed Jul 5, 2017
@dg9vh
Copy link
Owner

dg9vh commented Jul 5, 2017

@dh3wr I would add some additional checkings and clean-up-functionalities to tidy up the input :-)

@dg9vh dg9vh reopened this Jul 5, 2017
@dg9vh
Copy link
Owner

dg9vh commented Jul 5, 2017

just keep the door open as reminder...

@dg9vh dg9vh changed the title setup.php generates syntax error config.php enable setup.php to tidy up inputs from unwanted characters Jul 5, 2017
@dg9vh dg9vh closed this as completed in ab327a3 Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants