* Declare object and define object property.

This commit is contained in:
chenfeiCF
2020-09-01 06:23:43 +00:00
parent 814bea0cd3
commit fbfffd16f4
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ $status = '';
if(!file_exists($checkFileName) or (time() - filemtime($checkFileName)) > 60 * 10) $status = 'createFile';
$lang = new stdclass();
$lang->misc = new stdclass();
$lang->misc = new stdclass();
$lang->storyCommon = '';
include "../module/misc/lang/{$clientLang}.php";
if($status == 'createFile')
{
+1
View File
@@ -1,4 +1,5 @@
<?php
$config = new stdclass();
include '../config/config.php';
session_name($config->sessionVar);
session_start();