使用PHP开发的简约导航/书签管理系统。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

4 years ago
<?php
//载入数据库配置
require 'class/Medoo.php';
use Medoo\Medoo;
$db = new medoo([
'database_type' => 'sqlite',
4 years ago
'database_file' => 'data/onenav.db3'
4 years ago
]);
//用户名
3 years ago
define('USER','{username}');
4 years ago
//密码
3 years ago
define('PASSWORD','{password}');
4 years ago
//邮箱,用于后台Gravatar头像显示
3 years ago
define('EMAIL','{email}');
//token参数,API需要使用,0.9.19版本这个废弃了,请通过后台设置
4 years ago
define('TOKEN','xiaoz.me');
3 years ago
//主题风格,0.9.18废弃了,请通过后台设置
4 years ago
define('TEMPLATE','default');
//站点信息
4 years ago
$site_setting = [];
//站点标题
$site_setting['title'] = 'OneNav';
4 years ago
//文字Logo
$site_setting['logo'] = 'OneNav';
4 years ago
//站点关键词
$site_setting['keywords'] = 'OneNav,OneNav导航,OneNav书签,开源导航,开源书签,简洁导航,云链接,个人导航,个人书签';
4 years ago
//站点描述
$site_setting['description'] = 'OneNav是一款使用PHP + SQLite3开发的简约导航/书签管理器,免费开源。';
4 years ago
//这两项不要修改
$site_setting['user'] = USER;
$site_setting['password'] = PASSWORD;