public function construct() { if (!self::$included) { $dir = $this->get_module_dir(); ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $dir . '/2-lug'); require_once 'OFC/OFC_Chart.php'; self::$included = true; } $this->ofc = new OFC_Chart(); }