move commonEnv
parent
8da8b75868
commit
7d62c2df78
|
@ -1,19 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$commonEnv = [
|
|
||||||
//'Region',
|
|
||||||
//'SecretId',
|
|
||||||
//'SecretKey',
|
|
||||||
//'admin',
|
|
||||||
'adminloginpage',
|
|
||||||
'background',
|
|
||||||
//'disktag',
|
|
||||||
'language',
|
|
||||||
'passfile',
|
|
||||||
'sitename',
|
|
||||||
'theme',
|
|
||||||
];
|
|
||||||
|
|
||||||
function printInput($event, $context)
|
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);
|
if (strlen(json_encode($event['body']))>500) $event['body']=substr($event['body'],0,strpos($event['body'],'base64')+30) . '...Too Long!...' . substr($event['body'],-50);
|
||||||
|
|
Loading…
Reference in New Issue