src: legacy_bindings.inc already included by config.inc

client_connect.php also includes it but not config.inc.  Try to leave
it at that to not pollute it unnecessarily.  The other scripts might
be able to do it as well this way but don't fix something that is not
broken either.
This commit is contained in:
Franco Fichtner 2023-07-24 08:37:52 +02:00
parent 6487a9b62e
commit b7db4316fd
3 changed files with 6 additions and 7 deletions

View File

@ -27,11 +27,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
// use legacy code to generate certs and ca's
// eventually we need to replace this.
/* XXX use legacy code to generate certs and CAs */
require_once("config.inc");
require_once("certs.inc");
require_once("legacy_bindings.inc");
use OPNsense\Core\Config;

View File

@ -27,10 +27,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
// use legacy code to generate certs and ca's
/* XXX use legacy code to generate certs and CAs */
require_once("config.inc");
require_once("certs.inc");
require_once("legacy_bindings.inc");
use OPNsense\Core\Config;

View File

@ -27,10 +27,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/* XXX use legacy code to generate certs and CAs */
require_once("config.inc");
require_once("certs.inc");
require_once("legacy_bindings.inc");
$store = new OPNsense\Trust\Store();
$instances = [];