From c05a1103e73a54e3046c5aafc5daaa0c72d460f2 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 16 Mar 2009 08:25:49 +0000 Subject: Use a query to get the database version. Newer versions of PHP bomb if you're using mysqli, and it asks for a connection which we can't easily get from Kohana. --- core/views/admin_block_platform.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/views/admin_block_platform.html.php b/core/views/admin_block_platform.html.php index 09fc0515..272e20c1 100644 --- a/core/views/admin_block_platform.html.php +++ b/core/views/admin_block_platform.html.php @@ -10,6 +10,6 @@ phpversion())) ?>
  • - mysql_get_server_info())) ?> + Database::instance()->query("SELECT version() as V")->current()->V)) ?>
  • -- cgit v1.2.3