Skip to content
Permalink
Browse files
Minor fixes
* Ext access authorization fix
* Freeboard scripts path fix
  • Loading branch information
sergejey committed Feb 7, 2020
1 parent 337d359 commit f7d9dd0faf0e3f0de625a1a54f9b2f032030c54a
Showing 2 changed files with 4 additions and 1 deletion.
@@ -99,6 +99,9 @@
echo $p->result;
?>
<script type="text/javascript">

ROOTHTML = '<?php echo ROOTHTML;?>';

<?php
$constants=get_defined_constants();
foreach($constants as $k=>$v) {
@@ -40,7 +40,7 @@
}
else
{
if ($_SERVER['PHP_AUTH_USER'] != EXT_ACCESS_USERNAME || hash('sha512', $_SERVER['PHP_AUTH_PW']) != EXT_ACCESS_PASSWORD)
if ($_SERVER['PHP_AUTH_USER'] != EXT_ACCESS_USERNAME || $_SERVER['PHP_AUTH_PW']!= EXT_ACCESS_PASSWORD)
{
// header("Location:$PHP_SELF\n\n");
header("WWW-Authenticate: Basic realm=\"" . PROJECT_TITLE . "\"");

0 comments on commit f7d9dd0

Please sign in to comment.