Changeset 13934
- Timestamp:
- 12/18/07 01:43:07 (9 months ago)
- Files:
-
- trunk/midcom/midcom.helper.filesync/importer.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.filesync/importer.php
r13894 r13934 21 21 { 22 22 $this->_component = 'midcom.helper.filesync'; 23 $this->config =& $this->_config; 23 24 parent::midcom_baseclasses_components_purecode(); 24 25 } 25 26 26 27 /** 27 28 * This is a static factory method which lets you dynamically create importer instances. … … 39 40 { 40 41 $filename = MIDCOM_ROOT . "/midcom/helper/filesync/importer/{$type}.php"; 41 42 42 43 if (!file_exists($filename)) 43 44 { … … 47 48 require_once($filename); 48 49 49 $classname = "midcom_helper_filesync_importer_{$type}"; 50 $classname = "midcom_helper_filesync_importer_{$type}"; 50 51 if (!class_exists($classname)) 51 52 { … … 53 54 // This will exit. 54 55 } 55 56 56 57 /** 57 58 * Php 4.4.1 does not allow you to return a reference to an expression.
