stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

Double quotas in wp-config.php dont work with WP Manager! #134

Closed stefanpejcic closed 3 weeks ago

stefanpejcic commented 5 months ago

OpenPanel version(s) affected

0.1.9

Description

This does not work:

define( 'DB_NAME', "user_dbname" );

This does:

define( 'DB_NAME', 'user_dbname' );

How to reproduce

we should support both ' and " for all values in file!

For DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, DB_CHARSET

Possible Solution

https://git.devnet.rs/stefan/2083/-/blob/main/modules/websites.py#L127

Additional Context

No response

stefanpejcic commented 3 weeks ago

' are the default for wp