mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
interfaces: only include interfaces.inc
It's debatable but in general *.lib.inc is side-effect-free code for the library at hand and not to be grabbed by outside scripts directly. The library will include the needed file anyway.
This commit is contained in:
parent
d610ab7811
commit
ae2b9e3e5e
@ -27,7 +27,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
require_once("interfaces.lib.inc");
|
||||
require_once("interfaces.inc");
|
||||
|
||||
if (!empty($argv[1])) {
|
||||
$result = legacy_interface_details($argv[1]);
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
require_once("interfaces.lib.inc");
|
||||
require_once("interfaces.inc");
|
||||
|
||||
$statuses = array();
|
||||
foreach (legacy_interfaces_details() as $intf) {
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
*/
|
||||
|
||||
require_once("interfaces.inc");
|
||||
require_once("interfaces.lib.inc");
|
||||
|
||||
$vfaces = [
|
||||
'_stf',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user