Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (8 sloc) 0.311 kB
<?php
include_once 'lib/commonChart.inc.php';include_once("lib/login/session.inc.php");
if($database->isProtected($chartId) == false || login_check()) {
echo preg_replace('/"(-?\d+\.?\d*)"/', '$1', json_encode($database->queryAnalog($date,$chartId,$period)));
}
else {
echo "{status: \"access denied\"}";
}
Jump to Line
Something went wrong with that request. Please try again.