|
|
@@ -62,6 +62,7 @@ class get
|
|
|
if (core::ifGet("file")) {
|
|
|
if (session::accessElement(core::getGet("file"), "json")) {
|
|
|
if (file_exists(DIR_DATAS_JSON . core::getGet("file") . '.json')) {
|
|
|
+ header('Content-type: application/json');
|
|
|
require_once DIR_DATAS_JSON . core::getGet("file") . '.json';
|
|
|
exit();
|
|
|
} else {
|
|
|
@@ -101,7 +102,6 @@ class get
|
|
|
|
|
|
public static function jsonDateDataExcelProweb()
|
|
|
{
|
|
|
-
|
|
|
db::query("SELECT dateData FROM " . DB_T_EXCEL_PROWEB . " ORDER BY id DESC LIMIT 0, 1");
|
|
|
$data = db::single();
|
|
|
return (isset($data["dateData"])) ? $data["dateData"] : NULL;
|