Permalink
Browse files

Fix MySQL only version

  • Loading branch information...
1 parent b79a28f commit 30cfa6134c6987c0fe1ebcd60f80b42062624747 @vrana committed Jun 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 compile.php
View
@@ -239,7 +239,7 @@ function compile_file($match) {
}
}
if (count($drivers) == 1) {
- $file = str_replace('<?php echo html_select("driver", $drivers, DRIVER); ?>', "<input type='hidden' name='driver' value='$driver'>" . reset($drivers), $file);
+ $file = str_replace('<?php echo html_select("driver", $drivers, DRIVER); ?>', "<input type='hidden' name='driver' value='" . ($driver == "mysql" ? "server" : $driver) . "'>" . reset($drivers), $file);
}
}
$file = preg_replace_callback("~lang\\('((?:[^\\\\']+|\\\\.)*)'([,)])~s", 'lang_ids', $file);

0 comments on commit 30cfa61

Please sign in to comment.