* Declare object and define object property.
This commit is contained in:
+2
-1
@@ -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,4 +1,5 @@
|
||||
<?php
|
||||
$config = new stdclass();
|
||||
include '../config/config.php';
|
||||
session_name($config->sessionVar);
|
||||
session_start();
|
||||
|
||||
Reference in New Issue
Block a user