This commit is contained in:
Singularity Viewer
2014-07-09 20:43:16 +00:00
parent 980321b73f
commit dd61225eae
3 changed files with 5 additions and 7 deletions

View File

@@ -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
*/
?>
?>

View File

@@ -1,3 +1,6 @@
USE crashproc;
-- MySQL dump 10.13 Distrib 5.5.37, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: singucrash

View File

@@ -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())
{