审查视图

addons/database/config.php 1.3 KB
郭盛 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<?php

return array(
    0 =>
        array(
            'name'    => 'backupDir',
            'title'   => '备份存放目录',
            'type'    => 'string',
            'content' =>
                array(),
            'value'   => '../data/',
            'rule'    => 'required',
            'msg'     => '',
            'tip'     => '备份目录,请使用相对目录',
            'ok'      => '',
            'extend'  => '',
        ),
    1 =>
        array(
            'name'    => 'backupIgnoreTables',
            'title'   => '备份忽略的表',
            'type'    => 'string',
            'content' =>
                array(),
            'value'   => 'fa_admin_log',
            'rule'    => '',
            'msg'     => '',
            'tip'     => '忽略备份的表,多个表以,进行分隔',
            'ok'      => '',
            'extend'  => '',
        ),
    2 =>
        array(
            'name'    => '__tips__',
            'title'   => '温馨提示',
            'type'    => '',
            'content' =>
                array(),
            'value'   => '请做好数据库离线备份工作,建议此插件仅用于开发阶段,项目正式上线建议卸载此插件',
            'rule'    => '',
            'msg'     => '',
            'tip'     => '',
            'ok'      => '',
            'extend'  => '',
        ),
);