changed: php settings in external file
This commit is contained in:
parent
c8aae19ecf
commit
18d9cd0759
|
@ -1,10 +1,6 @@
|
|||
<?php
|
||||
|
||||
// global settings
|
||||
$datafile = '../data/data.json';
|
||||
$icsfile = 'ics url';
|
||||
|
||||
$password = '';
|
||||
require 'settings.php';
|
||||
|
||||
// check authent
|
||||
if ($password && (!isset($_POST['password']) || $_POST['password'] != $password))
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
$datafile = '../data/data.json';
|
||||
$icsfile = '';
|
||||
$password = '';
|
||||
?>
|
Loading…
Reference in New Issue