better security

This commit is contained in:
/jedi/ 2018-12-27 21:31:06 +01:00
parent 0e235682d1
commit 968f1f46a1
3 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ function auth(){
return false; return false;
if($_SERVER['PHP_AUTH_USER']!="c3cloc") if($_SERVER['PHP_AUTH_USER']!="c3cloc")
return false; return false;
if($_SERVER['PHP_AUTH_PW']!="c3cloc") if($_SERVER['PHP_AUTH_PW']!="findetalles")
return false; return false;
return true; return true;
} }

View file

@ -89,7 +89,7 @@ $stats = get_stats();
</div> </div>
<!-- Area Chart Example--> <!-- Area Chart Example-->
<div class="card mb-3"> <!--div class="card mb-3">
<div class="card-header"> <div class="card-header">
<i class="fas fa-chart-area"></i> <i class="fas fa-chart-area"></i>
Area Chart Example</div> Area Chart Example</div>
@ -97,7 +97,7 @@ $stats = get_stats();
<canvas id="myAreaChart" width="100%" height="30"></canvas> <canvas id="myAreaChart" width="100%" height="30"></canvas>
</div> </div>
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div> <div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
</div> </div-->
</div> </div>
<!-- /.container-fluid --> <!-- /.container-fluid -->

View file

@ -44,7 +44,7 @@
</button> </button>
<!-- Navbar Search --> <!-- Navbar Search -->
<form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0"> <!--form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0">
<div class="input-group"> <div class="input-group">
<input type="text" class="form-control" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2"> <input type="text" class="form-control" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
<div class="input-group-append"> <div class="input-group-append">
@ -53,7 +53,7 @@
</button> </button>
</div> </div>
</div> </div>
</form> </form-->
<!-- Navbar --> <!-- Navbar -->
<ul class="navbar-nav ml-auto ml-md-0"> <ul class="navbar-nav ml-auto ml-md-0">