OPNSense/core 5fdadcf — 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. (cherry picked from commit e3de6b2e28d24b9b113c1ee95a40b990ef8374ec)
Delta | File | |
---|---|---|
+1 | -1 | src/opnsense/mvc/script/load_phalcon.php |
+1 | -1 | 1 files |