static function includeFile($path) { if (ThemeFile::fileExist($path) !== true) { return false; } if (self::isPHPFile($path) !== true) { return false; } require_once $path; return true; }