|
|
@ -208,6 +208,10 @@ Class FrontApiController extends SiteController { |
|
|
|
'created' => time(), |
|
|
|
'created' => time(), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!empty($config['multipleUserUriParse'])) { |
|
|
|
|
|
|
|
$content['user'] = !empty(FSC::$app['user_id']) ? FSC::$app['user_id'] : ''; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fwrite($fp, json_encode($content) . "\n"); |
|
|
|
fwrite($fp, json_encode($content) . "\n"); |
|
|
|
}catch(Exception $err) { |
|
|
|
}catch(Exception $err) { |
|
|
|
$saved = false; |
|
|
|
$saved = false; |
|
|
|