Skip to content

Commit 1e9ba8b

Browse files
committed
update 9.19
1 parent ba3ce43 commit 1e9ba8b

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

docs/note/imgpan/imgurlpro.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
## 简介
2+
3+
ImgURL是一款开源图床程序,首个版本诞生于2017年12月,经过重构 + 多个版本更新,目前已经相对稳定,现在正式发布ImgURL Pro专业版图床程序,满足更多用户需要。同时ImgURL社区版(开源版)将继续维护,但是功能有别于专业版,根据自己的需要选择即可。
4+
5+
!> ImgURL Pro 由 [小z博客](https://www.xiaoz.me/archives/13225) 开发
6+
7+
## 下载
8+
9+
ImgURL Pro 下载:https://pan.npapi.ml/l9w/Code/imgurl-pro.tar.gz
10+
11+
## 安装
12+
13+
**所需环境 & 安装教程:**https://www.yuque.com/helloz/imgurl-pro
14+
15+
**ImgURL Pro 专业版为收费程序,根据域名授权验证,本文章仅用于学习交流,建议尽量支持购买正版!**
16+
17+
## 禁用授权验证
18+
19+
**根据官方安装完成后访问域名会显示**
20+
[![img](https://www.cooluc.com/usr/uploads/2020/08/3067493147.webp)](https://www.cooluc.com/usr/uploads/2020/08/3067493147.webp)
21+
22+
**接着在站点根目录创建密钥免授权补丁文件:`disable_key.php`**
23+
24+
```php
25+
<?php
26+
echo '<title>ImgURL Pro 禁用域名授权</title>';
27+
$domain = $_SERVER['SERVER_NAME'];
28+
$tld = explode('.', $domain);
29+
$num = count($tld);
30+
$domain = $tld[$num - 2] . '.' . end($tld);
31+
$file_name = md5(base64_encode($domain)) . '.txt';
32+
$keypath = 'data/'.$file_name;
33+
$key = fopen("$keypath", "w") or die("无法写入密钥,请检查 ImgURL Pro 是否正确安装");
34+
fwrite($key, md5($domain));
35+
fclose($key);
36+
echo '域名:' .$_SERVER['SERVER_NAME'] .' 授权成功';
37+
?>
38+
```
39+
40+
**通过你的域名访问补丁文件 ,如 `https://img.example.com/disable_key.php`**
41+
42+
密钥创建成功你将会看到提示 `域名:img.example.com 授权成功`
43+
44+
------
45+
46+
[![img](https://www.cooluc.com/usr/uploads/2020/08/4077312150.webp)](https://www.cooluc.com/usr/uploads/2020/08/4077312150.webp)
47+
48+
49+
50+
51+
52+
[![img](https://www.cooluc.com/usr/uploads/2021/09/2830715222.webp)](https://www.cooluc.com/usr/uploads/2021/09/2830715222.webp)
53+
54+
55+
56+
[ImgURL Pro图床专业版免授权安装 - Cooluc's Blog](https://www.cooluc.com/archives/83.html/comment-page-3#comments)
57+
58+
### 完毕!

docs/note/typecho/meihua.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,15 @@ echo '<link rel="stylesheet" type="text/css" media="all" href="night.css">';
4040
("Y-m-d H:i:s"); // 2001-03-10 17:16:18 (MySQL DATETIME
4141
```
4242

43+
## 优化 Typecho 评论管理图片&视频显示布局错乱
44+
45+
!> 控制图片、视频的预览高度与宽度
46+
47+
**编辑文件:`/admin/css/style.css`**
48+
**在文件末端粘贴以下代码并保存**
49+
50+
```css
51+
/* Comment management picture & video display layout out of order */
52+
.comment-content img { border: 0; max-height: 240px; max-width: 480px; }
53+
.comment-content video { border: 0; max-height: 240px; max-width: 480px; }
54+
```

docs/ziyuan/hostdomain/cf.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,26 @@
22

33
- 项目地址:https://github.com/badafans/better-cloudflare-ip
44

5+
#### 20M
6+
57
```sh
68
104.16.106.132
79
104.16.139.107
810
```
911

12+
#### 30M
13+
14+
```sh
15+
104.16.106.132
16+
104.17.130.225
17+
104.17.130.165
18+
```
19+
20+
#### 40M
21+
22+
```sh
23+
104.17.130.66
24+
```
25+
1026

1127

0 commit comments

Comments
 (0)