array('c' => 'PHP_OS', 'r' => 'notset', 'b' => 'unix'), 'php' => array('c' => 'PHP_VERSION', 'r' => '4.0', 'b' => '5.0'), 'attachmentupload' => array('r' => 'notset', 'b' => '2M'), 'gdversion' => array('r' => '1.0', 'b' => '2.0'), 'diskspace' => array('r' => '10M', 'b' => 'notset'), ); $dirfile_items = array ( 'config' => array('type' => 'file', 'path' => './data/config.inc.php'), 'data' => array('type' => 'dir', 'path' => './data'), 'cache' => array('type' => 'dir', 'path' => './data/cache'), 'view' => array('type' => 'dir', 'path' => './data/view'), 'avatar' => array('type' => 'dir', 'path' => './data/avatar'), 'logs' => array('type' => 'dir', 'path' => './data/logs'), 'backup' => array('type' => 'dir', 'path' => './data/backup'), 'tmp' => array('type' => 'dir', 'path' => './data/tmp') ); $form_db_init_items = array ( 'dbinfo' => array ( 'dbhost' => array('type' => 'text', 'required' => 1, 'reg' => '/^.*$/', 'value' => array('type' => 'string', 'var' => 'localhost')), 'dbname' => array('type' => 'text', 'required' => 1, 'reg' => '/^.*$/', 'value' => array('type' => 'string', 'var' => 'ucenter')), 'dbuser' => array('type' => 'text', 'required' => 0, 'reg' => '/^.*$/', 'value' => array('type' => 'string', 'var' => 'root')), 'dbpw' => array('type' => 'password', 'required' => 0, 'reg' => '/^.*$/', 'value' => array('type' => 'string', 'var' => '')), 'tablepre' => array('type' => 'text', 'required' => 0, 'reg' => '/^.*$/', 'value' => array('type' => 'string', 'var' => 'uc_')), ), 'admininfo' => array ( 'ucfounderpw' => array('type' => 'password', 'required' => 1, 'reg' => '/^.*$/'), 'ucfounderpw2' => array('type' => 'password', 'required' => 1, 'reg' => '/^.*$/'), ) );