/** * @param string $dir */ public static function setAppDir($dir) { self::$__app = $dir; }
function __construct() { \Matcha::$__app = ROOT . '/modules'; $this->i = \MatchaModel::setSenchaModel('Modules.imageforms.model.PatientImage'); \Matcha::$__app = ROOT . '/app'; }