mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Merge branch 'master' of git@github.com:gallery/gallery3
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ function oops($error) {
|
||||
|
||||
function check_environment() {
|
||||
if (!function_exists("mysql_query") && !function_exists("mysqli_set_charset")) {
|
||||
$errors[] = "Gallery 3 requires a MySQL database, but PHP doesn't have either the the <a href=\"http://php.net/mysql\">MySQL</a> or the <a href=\"http://php.net/mysqli\">MySQLi</a> extension.";
|
||||
$errors[] = "Gallery 3 requires a MySQL database, but PHP doesn't have either the <a href=\"http://php.net/mysql\">MySQL</a> or the <a href=\"http://php.net/mysqli\">MySQLi</a> extension.";
|
||||
}
|
||||
|
||||
if (!@preg_match("/^.$/u", utf8_encode("\xF1"))) {
|
||||
|
||||
@@ -25,10 +25,10 @@ class Quick_Controller extends Controller {
|
||||
}
|
||||
|
||||
$view = new View("quick_pane.html");
|
||||
$view->button_list =
|
||||
gallery_quick::get_quick_buttons($item, Input::instance()->get("page_type"));
|
||||
$page_type = Input::instance()->get("page_type");
|
||||
$view->button_list = gallery_quick::get_quick_buttons($item, $page_type);
|
||||
$view->item = $item;
|
||||
$view->page_type = Input::instance()->get("page_type");
|
||||
$view->page_type = $page_type;
|
||||
print $view;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user