changed: php settings in external file

This commit is contained in:
quenousimporte 2023-06-19 09:58:21 +02:00
parent c8aae19ecf
commit 18d9cd0759
2 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,6 @@
<?php <?php
// global settings require 'settings.php';
$datafile = '../data/data.json';
$icsfile = 'ics url';
$password = '';
// check authent // check authent
if ($password && (!isset($_POST['password']) || $_POST['password'] != $password)) if ($password && (!isset($_POST['password']) || $_POST['password'] != $password))

5
settings.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$datafile = '../data/data.json';
$icsfile = '';
$password = '';
?>