This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* LOGARR | |
* By: @seanvree, @jonfinley and @rob1998 | |
* https://github.com/Monitorr/Logarr | |
*/ | |
//TODO / TESTING / REMOVE | |
function appendLog($logentry) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require("functions.php"); | |
include("auth_check.php"); | |
// copy the file from source server | |
//TODO / Change to /assets/data dir: | |
// mkdir('../../tmp'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkLogin() { | |
console.log('Logarr auth: ENABLED | Checking login status (checkLogin)'); | |
$.ajax({ | |
type: "GET", | |
url: "assets/php/login-status.php", | |
// data: info, | |
success: function (data) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Logarr main JS script | |
// https://github.com/Monitorr | |
// Set styles for BlockUI overlays in /assets/js/jquery.blockUI.js | |
$(function () { | |
$.growlUI('Loading logs...'); | |
console.log('Logarr is loading logs'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<!-- | |
LOGARR | |
by @seanvree, @wjbeckett, and @jonfinley | |
https://github.com/Monitorr | |
--> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<!-- | |
LOGARR | |
by @seanvree, @wjbeckett, and @jonfinley | |
https://github.com/Monitorr | |
--> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Logarr main JS script | |
// https://github.com/Monitorr | |
// Set styles for BlockUI overlays in /assets/js/jquery.blockUI.js | |
function refreshblockUI() { | |
$.growlUI('Updating logs...'); | |
setTimeout(function () { | |
refresh(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/// MONITORR /// | |
// https://github.com/monitorr/Monitorr | |
/** | |
* This script uses CURL to check if given HOST is serving a webpage. | |
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/// MONITORR /// | |
// https://github.com/monitorr/Monitorr | |
/** | |
* This script uses CURL to check if given HOST is serving a webpage. | |
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/// MONITORR /// | |
// https://github.com/monitorr/Monitorr | |
/** | |
* This script uses CURL to check if given HOST is serving a webpage. | |
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL |
NewerOlder