test
This commit is contained in:
parent
fca38ae049
commit
e9141f676b
@ -5,5 +5,7 @@ require_once('./controller/UserSession.php');
|
|||||||
session_start();
|
session_start();
|
||||||
$mvcController = new MVCController();
|
$mvcController = new MVCController();
|
||||||
$mvcController->executeModel();
|
$mvcController->executeModel();
|
||||||
|
if(!isset($_POST['admin'])){
|
||||||
include_once("./view/content_pagetemplate.php");
|
include_once("./view/content_pagetemplate.php");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
echo('test3');
|
echo($_POST['auth']);
|
||||||
if(isset($_POST['auth'])){
|
if(isset($_POST['auth'])){
|
||||||
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
|
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
|
||||||
echo('test2');
|
echo('test2');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user