projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Item Tax Types: fixed inactive item tax types display switching.
[fa-stable.git]
/
install
/
index.php
diff --git
a/install/index.php
b/install/index.php
index fc27f03038097a200e43db1cb57bf2ddf46d6ae2..9bc9a41ea92d028cc2e69be2e5531b1f8a0fa3fc 100644
(file)
--- a/
install/index.php
+++ b/
install/index.php
@@
-31,7
+31,7
@@
function subpage_title($txt)
{
global $path_to_root;
{
global $path_to_root;
- echo '<center><img src="'.$path_to_root.'/themes/default/images/logo_frontaccounting.png" width="250" height="50" alt="Logo"
/
>
+ echo '<center><img src="'.$path_to_root.'/themes/default/images/logo_frontaccounting.png" width="250" height="50" alt="Logo" >
</center>';
$page = @$_POST['Page'] ? $_POST['Page'] : 1;
</center>';
$page = @$_POST['Page'] ? $_POST['Page'] : 1;
@@
-122,6
+122,9
@@
function install_connect_db() {
$db = db_create_db($conn);
if (!$db) {
display_error(_("Cannot connect to database. User or password is invalid or you have no permittions to create database."));
$db = db_create_db($conn);
if (!$db) {
display_error(_("Cannot connect to database. User or password is invalid or you have no permittions to create database."));
+ } else {
+ if (strncmp(db_get_version(), "5.6", 3) >= 0)
+ db_query("SET sql_mode = ''");
}
return $db;
}
}
return $db;
}
@@
-292,6
+295,7
@@
elseif(get_post('install_coas'))
'pass' => $_POST['pass'],
'name' => $_POST['name'],
'admin' => $_POST['admin'],
'pass' => $_POST['pass'],
'name' => $_POST['name'],
'admin' => $_POST['admin'],
+ 'lang' => $_POST['lang']
));
if (do_install()) {
$_POST['Page'] = 6;
));
if (do_install()) {
$_POST['Page'] = 6;
@@
-405,4
+409,3
@@
end_form(1);
end_page(false, false, true);
end_page(false, false, true);
-?>