From 57125444ca9e6d025389c7a049e4447e92b91dab Mon Sep 17 00:00:00 2001 From: mirai Date: Tue, 11 Oct 2022 08:18:03 -0400 Subject: [PATCH] removed popups that shouldn't appear --- README.en.md | 46 ++++++++++++++++++++++++++++++++++++++++++ README.md | 8 ++++++-- inc/class/database.db | Bin 3072 -> 3072 bytes index.php | 4 ++-- 4 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 README.en.md mode change 100644 => 100755 inc/class/database.db diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..f252675 --- /dev/null +++ b/README.en.md @@ -0,0 +1,46 @@ +# ShortLink + +The code is based on secondary development of [CRZ.im](https://github.com/Caringor/CRZ.im), thanks for the hard work of the original author @Caringor! + +## Language +- zh_CN [简体中文](README.md) +- en [English](README.en.md) + +## Overview + +A web URL shortener source code. + +## Installation + +### Environment + ++ Compatible with `PHP 7.x` ++ `Nginx 1.15+` ++ ~~`MySQL 5.5+`~~ (Not required for current version) + +Suggestion: Please install it on a SSD server if the website will be heavily used. + +### Configuration + +Modify the settings in `config.php` and change the permissions of the folder `inc` to `755`. + +### URL rewrite rules + +#### For Apache + +Just directly use the file `.htaccess`. + +#### For Nginx + +Add the content of `nginx-rewrite.conf` to the `Nginx` server block being used. + +## Features + ++ URL shortener ++ Concise page ++ One-click copy + +## Todo List + ++ Add the support of `MySQL` ++ More... diff --git a/README.md b/README.md index 57e204e..1b85282 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ 代码基于 [CRZ.im](https://github.com/Caringor/CRZ.im) 二次开发,感谢原作者的辛勤劳动。 +## 文档语言 +- zh_CN [简体中文](README.md) +- en [English](README.en.md) + ## 概述 这是一个网址缩短服务的网站的源代码。 @@ -10,7 +14,7 @@ ### 环境准备 -+ `PHP 7.0+` ++ `PHP 7.0x`版本兼容 + `Nginx 1.15+` + ~~`MySQL 5.5+`~~ (目前还不需要) @@ -28,7 +32,7 @@ #### Nginx 用户 -需要把 `nginx-rewrite.conf` 里面的内容添加到 `Nginx` 的配置文件里。 +需要把 `nginx-rewrite.conf` 里面的内容添加到 `Nginx` 对欲使用网站的配置文件里。 ## 功能 diff --git a/inc/class/database.db b/inc/class/database.db old mode 100644 new mode 100755 index 6a3fd8be3e0cdd2cfbde34b1d99e0cac29b8039a..ade5ce2581e5ac783ceca473418ee7a42fc6476f GIT binary patch delta 112 zcmZpWXpop7Ey&Kmz`zW}OhB4xqK+|8P|v@X7sz8^0m`0dKEGLzV;>U>^ACoFlZ}|? x0tFciCtqeZX#7xXTfI4q5PkzQN1pq^g7JmQ$ delta 112 zcmZpWXpop7Ey%{ez`zW|Fu*ub#~3K6XMdBI`3D0NvmOJp9`pIlf*kvpSQ_OR*(Vz@ z&t*|(ViTWync0wwkvWNhIf?Nj9VX60q#;{qDR$oz|e`4{su<{v - \ No newline at end of file +