2 class CRM_Custom_Import_Controller
extends CRM_Core_Controller
{
6 function __construct($title = NULL, $action = CRM_Core_Action
::NONE
, $modal = TRUE) {
7 parent
::__construct($title, $modal);
9 // lets get around the time limit issue if possible, CRM-2113
10 if (!ini_get('safe_mode')) {
14 $this->_stateMachine
= new CRM_Import_StateMachine($this, $action);
16 // create and instantiate the pages
17 $this->addPages($this->_stateMachine
, $action);
19 // add all the actions
20 $config = CRM_Core_Config
::singleton();
21 $this->addActions($config->uploadDir
, array('uploadFile'));