move commonEnv

This commit is contained in:
qkqpttgf
2020-02-23 12:53:57 +08:00
committed by GitHub
parent 8da8b75868
commit 7d62c2df78
-14
View File
@@ -1,19 +1,5 @@
<?php
$commonEnv = [
//'Region',
//'SecretId',
//'SecretKey',
//'admin',
'adminloginpage',
'background',
//'disktag',
'language',
'passfile',
'sitename',
'theme',
];
function printInput($event, $context)
{
if (strlen(json_encode($event['body']))>500) $event['body']=substr($event['body'],0,strpos($event['body'],'base64')+30) . '...Too Long!...' . substr($event['body'],-50);