-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcron.php
More file actions
38 lines (29 loc) · 1.21 KB
/
cron.php
File metadata and controls
38 lines (29 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
include_once("config.php");
include("lib/functions.php");
$sqlget = "SELECT * FROM servers ORDER BY id";
$res = mysqli_query($db, $sqlget) or die(mysqli_error());
if(mysqli_num_rows($res) > 0) {
while($row = mysqli_fetch_assoc($res)) {
$getdata = new getData();
$getdata->useMail = $useMail;
$getdata->usePush = $usePush;
$getdata->testMail = $testMail;
$getdata->mail_username = $mail_username;
$getdata->mail_password = $mail_password;
$getdata->mail_host = $mail_host;
$getdata->mail_port = $mail_port;
$getdata->mail_from = $mail_from;
$getdata->mail_to = $mail_to;
$getdata->db = $db;
$getdata->id = $row["id"];
$getdata->url = $row["name"];
$getdata->port = $row["port"];
$getdata->old_valid_from = $row["valid_from"];
$getdata->old_valid_to = $row["valid_to"];
$getdata->old_authority = $row["authority"];
$errstr = "";
$getdata->getSSL();
}
}
?>