You are here

function skinr_include_once in Skinr 7.2

file_scan_directory() callback wrapper around include_once.

include_once is a PHP construct, not a function, so it cannot be invoked directly as 'callback' in file_scan_directory().

1 string reference to 'skinr_include_once'
skinr_load_plugins in ./skinr.module
Includes Skinr plugin files for an extension, if any.

File

./skinr.module, line 591
Handles core Skinr functionality.

Code

function skinr_include_once($file) {
  include_once $file;
}