<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 

defined('IN_MET') or exit('No permission');

load::sys_class('admin');
load::sys_func('file');
load::sys_func('array');

class patch extends admin
{
    /**
     *系统环境检测
     */
    public function docheckEnv()
    {
        global $_M;
        $handle = load::sys_class('handle', 'new');
        $data = array(
            'data' => $handle->checkFunction(),
            'dirs' => $handle->checkDirs()
        );
        return $data;
    }
}

# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>