move commonEnv

pull/17/head
qkqpttgf 2020-02-23 12:52:23 +08:00 committed by GitHub
parent 2e62a4c2dc
commit 422bb0e4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions

View File

@ -1,18 +1,5 @@
<?php <?php
$commonEnv = [
//'APIKey',
//'admin',
'adminloginpage',
'background',
//'disktag',
//'function_name',
'language',
'passfile',
'sitename',
'theme',
];
function getpath() function getpath()
{ {
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']; $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR'];