Fixies
This commit is contained in:
@@ -14,7 +14,6 @@ class DBH
|
||||
|
||||
function log($line)
|
||||
{
|
||||
return;
|
||||
static $f = false;
|
||||
static $failed = false;
|
||||
|
||||
@@ -50,7 +49,7 @@ class DBH
|
||||
$this->db_pass = $db_pass;
|
||||
$this->db_user = $db_user;
|
||||
$this->db_host = $db_host;
|
||||
|
||||
|
||||
$this->dbh = @mysql_pconnect($db_host, $db_user, $db_pass);
|
||||
|
||||
if (!$this->dbh) {
|
||||
@@ -192,4 +191,4 @@ class DBH
|
||||
* vim600: sw=4 ts=4 fdm=marker
|
||||
* vim<600: sw=4 ts=4
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
USE crashproc;
|
||||
|
||||
|
||||
-- MySQL dump 10.13 Distrib 5.5.37, for debian-linux-gnu (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: singucrash
|
||||
|
||||
@@ -20,10 +20,6 @@ if (!$user)
|
||||
$user->email = $user_email;
|
||||
$user->is_admin = 0;
|
||||
$user->is_allowed = 0;
|
||||
if ($user->email == "ek@krug.dk" || $user->email == "shyotl@gmail.com")
|
||||
{
|
||||
$user->is_allowed = 1;
|
||||
}
|
||||
$user->login = $user_identity;
|
||||
if (!$user->save())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user