Skip to content
Snippets Groups Projects
Commit 5b571560 authored by Kevin Hill's avatar Kevin Hill
Browse files

replacing str_random in demos, oops

parent 8ebdb2b8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,13 +19,11 @@ if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER["REQUEST_URI"])) {
 
if (strpos($chartType, 'Chart') > 0) {
require_once(__DIR__ . '/Charts/' . $chartType . '.php');
/*$elemId = $lava->fetch($chartType, $title)->getElementIdStr();*/
} else {
require_once(__DIR__ . '/Dashboards/' . $chartType . '.php');
/*$elemId = $lava->fetch('Dashboard', $title)->getElementIdStr();*/
}
 
$elemId = str_random(12);
$elemId = sha1(microtime());
}
}
?>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment