summaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
commitebdb7573bf4176b81264d2c66dd567fa3c3ee0bd (patch)
treef16da64cdfec967a34bc71d5902ca59c64d7b9ac /install.php
parent6232e0f8d78c2555e64672341c54916cc0e8b3ed (diff)
downloadampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.gz
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.bz2
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.zip
fixed up localplay a little more, to the point of it basicly working... added check for mysql on installer langue page, tweaked some css as well
Diffstat (limited to 'install.php')
-rw-r--r--install.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.php b/install.php
index 44c4d17d..031654e4 100644
--- a/install.php
+++ b/install.php
@@ -224,6 +224,12 @@ switch ($action) {
break;
default:
+ /* Do some basic tests here... most common error, no mysql */
+ if (!function_exists('mysql_query')) {
+ header ("Location: test.php");
+ }
+
+
/* Show the language options first */
require_once('templates/show_install_lang.inc.php');
break;