Add files via upload

This commit is contained in:
qkqpttgf
2020-01-16 21:08:28 +08:00
committed by GitHub
parent d20a74ebcf
commit 86d59a8f5a
4 changed files with 1170 additions and 2 deletions
+7 -2
View File
@@ -1,9 +1,14 @@
<?php
include 'vendor/autoload.php';
include 'conststr.php';
include 'functions.php';
include 'function/common.php';
if ($_SERVER['USER']!='qcloud') {
if ($_SERVER['USER']==='qcloud') {
include 'function/scf.php';
} elseif ($_SERVER['HEROKU_APP_DIR']==='/app') {
include 'function/heroku.php';
} else {
include 'function/normal.php';
//echo '<pre>'. json_encode($_SERVER, JSON_PRETTY_PRINT).'</pre>';
$path = getpath();
//echo 'path:'. $path;