Empty commit

This commit is contained in:
Git 2014-03-17 08:00:49 +00:00
parent a7310292f8
commit f8d087396d
5 changed files with 14 additions and 11 deletions

View File

@ -98,7 +98,8 @@ public function analysis($Message, $Report = '', $Time = 43200) {
),
$Time
);
send_irc('PRIVMSG '.LAB_CHAN." :{$Message} $Document ".site_url()."tools.php?action=analysis&case=$Identifier ".site_url().$_SERVER['REQUEST_URI']);
$RequestURI = !empty($_SERVER['REQUEST_URI']) ? substr($_SERVER['REQUEST_URI'], 1) : '';
send_irc('PRIVMSG '.LAB_CHAN." :{$Message} $Document ".site_url()."tools.php?action=analysis&case=$Identifier ".site_url().$RequestURI);
}
public function get_cpu_time() {

View File

@ -1,5 +1,8 @@
CHANGE LOG
2014-03-17 by alderaan
Uncomment some of the Ratio Watch code in public Gazelle. This was accidentally commented out in the public code.
2014-03-16 by hateradio
Update TableSorter JS; remove minified version; improve table sorting by adding attributes to table headings instead of relying on JS to disable columns.

View File

@ -6,17 +6,18 @@
/*------------------------------------------------------*/
/********************************************************/
//Lets prevent people from clearing feeds
// Lets prevent people from clearing feeds
if (isset($_GET['clearcache'])) {
unset($_GET['clearcache']);
}
require 'classes/config.php'; //The config contains all site wide configuration information as well as memcached rules
require 'classes/config.php'; // The config contains all site wide configuration information as well as memcached rules
require(SERVER_ROOT.'/classes/cache.class.php'); //Require the caching class
require(SERVER_ROOT.'/classes/feed.class.php'); //Require the caching class
$Cache = NEW CACHE($MemcachedServers); //Load the caching class
$Feed = NEW FEED; //Lead the time class
require(SERVER_ROOT.'/classes/misc.class.php'); // Require the misc class
require(SERVER_ROOT.'/classes/cache.class.php'); // Require the caching class
require(SERVER_ROOT.'/classes/feed.class.php'); // Require the feeds class
$Cache = NEW CACHE($MemcachedServers); // Load the caching class
$Feed = NEW FEED; // Load the time class
function check_perms() {
return false;

View File

@ -768,8 +768,6 @@ function next_hour() {
sleep(5);
//------------- Disable downloading ability of users on ratio watch
/*
$UserQuery = $DB->query("
SELECT ID, torrent_pass
FROM users_info AS i
@ -809,8 +807,6 @@ function next_hour() {
Tracker::update_tracker('update_user', array('passkey' => $Passkey, 'can_leech' => '0'));
}
*/
//------------- Disable inactive user accounts --------------------------//
sleep(5);
// Send email

View File

@ -148,6 +148,7 @@ function toggle_group(groupid, link, event) {
if (event.preventDefault) {
event.preventDefault();
} else {
// for IE < 9 support
event.returnValue = false;
}
}
@ -182,6 +183,7 @@ function toggle_edition(groupid, editionid, lnk, event) {
if (event.preventDefault) {
event.preventDefault();
} else {
// for IE < 9 support
event.returnValue = false;
}
}