summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-08-06 22:18:21 -0400
committerEudyptula <eitan@mosenkis.net>2009-08-06 22:18:21 -0400
commitfe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1 (patch)
tree9de3b1a6cbe956ce42438c05fd14cf9e5ad136e2
parentNumerous backend bugs fixed; use portage snapshot if available; frontend figu... (diff)
downloadingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.tar.gz
ingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.tar.bz2
ingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.zip
Update deps; don't use print_error in shared dbinit
-rw-r--r--depend2
-rw-r--r--shared/include/dbinit.php2
-rw-r--r--todo1
3 files changed, 3 insertions, 2 deletions
diff --git a/depend b/depend
index 907b18c..4cd7265 100644
--- a/depend
+++ b/depend
@@ -1,4 +1,4 @@
->=dev-lang/php-5.2.2 USE=pdo hash pcntl pcre cli pdo mysqli apache2 curl ctype reflection
+>=dev-lang/php-5.2.2 USE=pdo hash pcntl pcre cli mysqli apache2 curl ctype reflection posix
>=virtual/mysql-5
sys-apps/portage # In case you use paludis
sys-apps/sed
diff --git a/shared/include/dbinit.php b/shared/include/dbinit.php
index 45b7eb7..84ed8f2 100644
--- a/shared/include/dbinit.php
+++ b/shared/include/dbinit.php
@@ -2,7 +2,7 @@
try {
$S['pdo']=new PDO('mysql:dbname='.$S['conf']['sqldb'].';host='.$S['conf']['sqlhost'], $S['conf']['sqluser'], $S['conf']['sqlpass'], array(PDO::ATTR_PERSISTENT => true));
} catch (Exception $e) {
- die(print_error('Database connection failure.', $e->getMessage()));
+ die('Database connection failure: '.$e->getMessage()."\n");
}
sql_row_obj::set_pdo_obj($S['pdo']);
?>
diff --git a/todo b/todo
index 05476c3..ade9840 100644
--- a/todo
+++ b/todo
@@ -21,3 +21,4 @@ Improve the upload step so it tries more than once
Offer FTP upload
Offer SCP upload?
Use zmedico's deafult USE flags script in backend/modules/gentoo_portage to trim the USE we put in the make.conf generated
+Ask someone to add the necessary USE flags to php on tinderbox