-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcommon.php
More file actions
27 lines (26 loc) · 1.08 KB
/
common.php
File metadata and controls
27 lines (26 loc) · 1.08 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
<?php
$asw_version = "1.3.1beta";
include 'config.php';
function logexists()
{
global $logpath;
//global $confpath;
global $asw_version;
if(!file_exists($logpath))
{
echo '<font color="red" size="6"><b>Error. Cannot open APRX log file at '.$logpath.'.</b></font>';
echo '<br><br>Please check, if log file path in config.php is set correctly.<br>Plase check, if file '.$logpath.' exists.';
echo '<br><br><b>Pointless to continue.</b>';
echo '<br><br><br><br><br><br><center>APRX Simple Webstat version '.$asw_version.' by Peter SQ8VPS and Alfredo IZ7BOJ 2017-2019</center>';
die();
}
/*if(!file_exists($confpath))
{
echo '<font color="red" size="6"><b>Error. Cannot open APRX config file at '.$confpath.'.</b></font>';
echo '<br><br>Please check, if config file path in config.php is set correctly.<br>Plase check, if file '.$logpath.' exists.';
echo '<br><br><b>Pointless to continue.</b>';
echo '<br><br><br><br><br><br><center>APRX Simple Webstat version '.$asw_version.' by Peter SQ8VPS and Alfredo IZ7BOJ 2017-2018</center>';
die();
}*/
}
?>