OPNSense/core e3de6b2 — src/opnsense/mvc/script load_phalcon.php
Fix usage of include_once in load_phalcon.php (#3109) include_once returns TRUE if the file has already been loaded. This is not what you want if you're setting a variable from it. http://php.net/manual/en/function.include-once.php This fixes notices when including certain old scripts from modern controllers, as well as a notice when running run_migrations.php.
Delta | File | |
---|---|---|
+1 | -1 | src/opnsense/mvc/script/load_phalcon.php |
+1 | -1 | 1 files |