You are here

function sheetnode_phpexcel_init in Sheetnode 6

Same name and namespace in other branches
  1. 7.2 modules/sheetnode_phpexcel/sheetnode_phpexcel.module \sheetnode_phpexcel_init()
  2. 7 modules/sheetnode_phpexcel/sheetnode_phpexcel.module \sheetnode_phpexcel_init()

Implementation of hook_init().

File

modules/sheetnode_phpexcel/sheetnode_phpexcel.module, line 122

Code

function sheetnode_phpexcel_init() {
  $path = variable_get('sheetnode_phpexcel_library_path', '');
  if (is_dir($path)) {
    spl_autoload_register('_sheetnode_phpexcel_autoload');
  }
}