updated crons

This commit is contained in:
Tóth Richárd
2019-11-21 22:37:47 +01:00
parent 941bcf846d
commit eabb6bc13b
2 changed files with 8 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
<?php
//add some security check
ini_set('include_path', '../_class/');
include('class_sql.php');
if ($_SERVER['HTTP_HOST'] == 'cegledcoach.hu') $sql = new sql('cegled_mysql','root','','badminton_coach');
else $sql = new sql('localhost','livingsp_coach','R186er012qw5','livingsp_badminton');
//ini_set('include_path', '../_class/');
include('/var/www/cegled/_class/class_sql.php');
//$sql = new sql('cegled_mysql','root','','badminton_coach');
$sql = new sql('localhost','livingsp_coach','R186er012qw5','livingsp_badminton');
//lekérjük az aktív tagokat, végigmegyünk rajtuk