简体   繁体   English

是否有一个基于Web的开源配置编辑器,用于编辑有效的php样式的ini文件?

[英]Is there an open source, web-based config editor for editing valid php-style ini file?

Cpanel has some cool config editors that grab an .ini file, stick it all in a web form...it spits out in plain text all comments, then offers an inline text input for valid lines...so a user can change configs through the web.... Cpanel有一些很酷的配置编辑器,可以抓取一个.ini文件,将其全部粘贴到Web窗体中...它会以纯文本形式显示所有注释,然后为有效行提供内联文本输入...以便用户可以更改配置通过网络...。

I'm wondering if there's some open source software, preferably in php, that does the same...for use in a CMS. 我想知道是否有一些开源软件,最好是在php中,是否能在CMS中使用相同的功能。

You could load the contents of the ini file into a textarea within a form. 您可以将ini文件的内容加载到表单内的文本区域中。 Apply http://codemirror.net/ to the textarea to provide specific formatting. http://codemirror.net/应用于文本区域以提供特定的格式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM