diff options
author | 2009-08-06 22:18:21 -0400 | |
---|---|---|
committer | 2009-08-06 22:18:21 -0400 | |
commit | fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1 (patch) | |
tree | 9de3b1a6cbe956ce42438c05fd14cf9e5ad136e2 | |
parent | Numerous backend bugs fixed; use portage snapshot if available; frontend figu... (diff) | |
download | ingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.tar.gz ingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.tar.bz2 ingenue-fe38ccca79d3ab20d4fbd08ddd4a85c0c977f4f1.zip |
Update deps; don't use print_error in shared dbinit
-rw-r--r-- | depend | 2 | ||||
-rw-r--r-- | shared/include/dbinit.php | 2 | ||||
-rw-r--r-- | todo | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -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']); ?> @@ -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 |