Empty commit

This commit is contained in:
Git 2012-03-25 08:00:18 +00:00
parent a5a8b498d3
commit 7b23e3cbea
6 changed files with 14 additions and 4 deletions

View File

@ -43,7 +43,8 @@ class CACHE extends Memcache {
public $CanClear = false;
function __construct() {
$this->pconnect(MEMCACHED_HOST, MEMCACHED_PORT);
$this->pconnect('192.168.5.6', 11211);
// $this->pconnect(MEMCACHED_HOST, MEMCACHED_PORT);
//$this->connect('localhost', 11211);
}

View File

@ -59,6 +59,7 @@ function table_query($TableName) {
}
function get_rank($TableName, $Value) {
return false;
if($Value == 0) { return 0; }
global $Cache, $DB;

View File

@ -168,7 +168,7 @@
<li id="nav_requests"><a href="requests.php">Requests</a></li>
<li id="nav_forums"><a href="forums.php">Forums</a></li>
<li id="nav_irc"><a href="chat.php">IRC</a></li>
<li id="nav_top10"><a href="top10.php">Top 10</a></li>
<!-- <li id="nav_top10"><a href="top10.php">Top 10</a></li>-->
<li id="nav_rules"><a href="rules.php">Rules</a></li>
<li id="nav_wiki"><a href="wiki.php">Wiki</a></li>
<li id="nav_staff"><a href="staff.php">Staff</a></li>

8
nohup.out Normal file
View File

@ -0,0 +1,8 @@
PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=downslayer&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
in /var/www/vhosts/what/sections/irc/index.php on line 1044
PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=MrBillhelm&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
in /var/www/vhosts/what/sections/irc/index.php on line 1044
PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=Fowler&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
in /var/www/vhosts/what/sections/irc/index.php on line 1044
PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=MrBillhelm&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
in /var/www/vhosts/what/sections/irc/index.php on line 1044

View File

@ -2,7 +2,7 @@
// Already done in /sections/ajax/index.php
//enforce_login();
if(!check_perms('site_top10')){
if(1 || !check_perms('site_top10')){
print json_encode(array('status' => 'failure'));
die();
}

View File

@ -1,7 +1,7 @@
<?
enforce_login();
if(!check_perms('site_top10')){
if(1 || !check_perms('site_top10')){
show_header();
?>
<div class="content_basiccontainer">