move commonEnv

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

View File

@ -1,16 +1,5 @@
<?php
$commonEnv = [
//'admin',
'adminloginpage',
'background',
//'disktag',
'language',
'passfile',
'sitename',
'theme',
];
function getpath()
{
$_SERVER['base_path'] = path_format(substr($_SERVER['SCRIPT_NAME'], 0, -10) . '/');