1 Star 1 Fork 0

allenleong/PHPLink

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.php 454 Bytes
一键复制 编辑 原始数据 按行查看 历史
liangyongbo 提交于 2020-11-21 16:56 +08:00 . 修改redis配置
<?php
define("APP_PATH",dirname(__FILE__));
require_once APP_PATH."/class/Redis.php";
require_once APP_PATH."/class/Request.php";
require_once APP_PATH."/class/LinkData.php";
require_once APP_PATH."/class/Log.php";
require_once APP_PATH.'/class/App.php';
$App = new PHPLink();
if(count($argv) > 1) {
if($argv[1] == "--stop") {
$App->stop();
}else if($argv[1] == "--start") {
$App->start();
}
}else{
exit();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/allenleong/phplink.git
git@gitee.com:allenleong/phplink.git
allenleong
phplink
PHPLink
master

搜索帮助