| Line 1... |
Line 1... |
| 1 |
<?php
|
1 |
<?php
|
| 2 |
|
2 |
|
| 3 |
/*
|
3 |
/*
|
| 4 |
|
4 |
|
| 5 |
QBPWCF, Quick Build PHP website Component base on Fedora Linux.
|
5 |
QBPWCF, Quick Build PHP website Component base on Fedora Linux.
|
| 6 |
Copyright (C) 2015~2024 Min-Jhin,Chen
|
6 |
Copyright (C) 2014~2025 MIN ZHI, CHEN
|
| 7 |
|
7 |
|
| 8 |
This file is part of QBPWCF.
|
8 |
This file is part of QBPWCF.
|
| 9 |
|
9 |
|
| 10 |
QBPWCF is free software: you can redistribute it and/or modify
|
10 |
QBPWCF is free software: you can redistribute it and/or modify
|
| 11 |
it under the terms of the GNU General Public License as published by
|
11 |
it under the terms of the GNU General Public License as published by
|
| Line 71... |
Line 71... |
| 71 |
#$conf["deadline"]=gmdate("Y-m-d H:i:s",time()+86400);
|
71 |
#$conf["deadline"]=gmdate("Y-m-d H:i:s",time()+86400);
|
| 72 |
#$conf["toWhere"],字串,爲要轉址到的地方.
|
72 |
#$conf["toWhere"],字串,爲要轉址到的地方.
|
| 73 |
$conf["toWhere"]="https://www.qbpwcf.org";
|
73 |
$conf["toWhere"]="https://www.qbpwcf.org";
|
| 74 |
#$conf["condition"],字串,爲轉址條件,可以用的值有:"before",代表在某段時間之前;"after",代表在某段時間之後;"betweenStartToDeadline",代表在某段時間之內;"besideStartToDeadline",代表在某段時間之外.
|
74 |
#$conf["condition"],字串,爲轉址條件,可以用的值有:"before",代表在某段時間之前;"after",代表在某段時間之後;"betweenStartToDeadline",代表在某段時間之內;"besideStartToDeadline",代表在某段時間之外.
|
| 75 |
$conf["condition"]="after";
|
75 |
$conf["condition"]="after";
|
| 76 |
#可省略參數:
|
76 |
#可省略參數:
|
| 77 |
#$conf["startTime"],字串,爲條件的開始的參考時間點,格式須爲 2011-05-27 23:59:59 ,適用於 $conf["condtion"] 爲 "betweenStartToDeadline" 或 "besideStartToDeadline".
|
77 |
#$conf["startTime"],字串,爲條件的開始的參考時間點,格式須爲 2011-05-27 23:59:59 ,適用於 $conf["condtion"] 爲 "betweenStartToDeadline" 或 "besideStartToDeadline".
|
| 78 |
#$conf["startTime"]="";
|
78 |
#$conf["startTime"]="";
|
| 79 |
#$conf["timeZone"],字串,當前時區為何?預設為"Asia/Taipei",可以設定的時區列表:http://www.php.net/manual/en/timezones.php
|
79 |
#$conf["timeZone"],字串,當前時區為何?預設為"Asia/Taipei",可以設定的時區列表:http://www.php.net/manual/en/timezones.php
|
| 80 |
#$conf["timeZone"]="Asia/Taipei";
|
80 |
#$conf["timeZone"]="Asia/Taipei";
|
| 81 |
#參考資料:
|
81 |
#參考資料:
|