mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
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:
parent
6487a9b62e
commit
b7db4316fd
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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 = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user