dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php  1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  2) /*
modules/webapps/include/freewvs.php  3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/webapps/include/freewvs.php  4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

modules/webapps/include/freewvs.php  5) Written by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  6)   Bernd Wurst <bernd@schokokeks.org>
modules/webapps/include/freewvs.php  7)   Hanno Böck <hanno@schokokeks.org>
modules/webapps/include/freewvs.php  8) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

modules/webapps/include/freewvs.php  9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php 10) 
modules/webapps/include/freewvs.php 11) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
modules/webapps/include/freewvs.php 12) */
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php 13) 
modules/freewvs/include/freewvs.php 14) require_once('inc/base.php');
modules/freewvs/include/freewvs.php 15) 
modules/freewvs/include/freewvs.php 16) 
modules/freewvs/include/freewvs.php 17) function load_results()
modules/freewvs/include/freewvs.php 18) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

modules/webapps/include/freewvs.php 19)     $uid = (int) $_SESSION['userinfo']['uid'];
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

modules/webapps/include/freewvs.php 20)     $result = db_query("SELECT directory, docroot, first_seen, last_seen, first_warned, last_warned, appname, version, state, safeversion, vulninfo FROM qatools.detected_webapps WHERE uid=?", [$uid]);
modules/webapps/include/freewvs.php 21)     $ret = [];
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

modules/webapps/include/freewvs.php 22)     while ($line = $result->fetch()) {
modules/webapps/include/freewvs.php 23)         array_push($ret, $line);
modules/webapps/include/freewvs.php 24)     }
modules/webapps/include/freewvs.php 25)     return $ret;
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php 26) }
modules/freewvs/include/freewvs.php 27) 
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

modules/webapps/include/freewvs.php 28) function get_upgradeinstructions($appname)
modules/webapps/include/freewvs.php 29) {
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

modules/webapps/include/freewvs.php 30)     $result = db_query("SELECT url FROM qatools.freewvs_upgradeinstructions WHERE appname=?", [$appname]);
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

modules/webapps/include/freewvs.php 31)     if ($result->rowCount() > 0) {
modules/webapps/include/freewvs.php 32)         $tmp = $result->fetch();
modules/webapps/include/freewvs.php 33)         return $tmp[0];
modules/webapps/include/freewvs.php 34)     }
modules/webapps/include/freewvs.php 35)     return null;