aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-22 13:55:44 -0800
committerFriendika <info@friendika.com>2010-12-22 13:55:44 -0800
commitad86a5193e60a23d56abb98197538a7bd6431931 (patch)
tree006180697a70ef8a4cb4467db000d74ae8c15b09 /mod/install.php
parent5b1fde8b0f4c658b3560ad4b0d29d176c42baf87 (diff)
downloadvolse-hubzilla-ad86a5193e60a23d56abb98197538a7bd6431931.tar.gz
volse-hubzilla-ad86a5193e60a23d56abb98197538a7bd6431931.tar.bz2
volse-hubzilla-ad86a5193e60a23d56abb98197538a7bd6431931.zip
some Windows (and other) installation issues
Diffstat (limited to 'mod/install.php')
-rw-r--r--mod/install.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/install.php b/mod/install.php
index 9043459b8..fa534fe12 100644
--- a/mod/install.php
+++ b/mod/install.php
@@ -15,7 +15,7 @@ function install_post(&$a) {
require_once("dba.php");
- $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, $true);
+ $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true);
if(mysqli_connect_errno()) {
$db = new dba($dbhost, $dbuser, $dbpass, '', true);
@@ -24,7 +24,7 @@ function install_post(&$a) {
dbesc($dbdata)
);
if($r)
- $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, $true);
+ $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true);
}
if(mysqli_connect_errno()) {
notice( t('Could not create/connect to database.') . EOL);
@@ -65,14 +65,14 @@ function install_post(&$a) {
notice( t('Database import succeeded.') . EOL
. t('IMPORTANT: You will need to [manually] setup a scheduled task for the poller.') . EOL
- . t('Please see the file INSTALL.') . EOL );
+ . t('Please see the file "INSTALL.txt".') . EOL );
goaway($a->get_baseurl() . '/register' );
}
else {
$db = null; // start fresh
notice( t('Database import failed.') . EOL
. t('You may need to import the file "database.sql" manually using phpmyadmin or mysql.') . EOL
- . t('Please see the file INSTALL.') . EOL );
+ . t('Please see the file "INSTALL.txt".') . EOL );
}
}
@@ -171,7 +171,7 @@ function check_funcs() {
if(! function_exists('mysqli_connect'))
notice( t('Error: mysqli PHP module required but not installed.') . EOL);
if((x($_SESSION,'sysmsg')) && strlen($_SESSION['sysmsg']))
- notice( t('Please see the file "INSTALL".') . EOL);
+ notice( t('Please see the file "INSTALL.txt".') . EOL);
}
@@ -183,7 +183,7 @@ function check_htconfig() {
$o = t('The web installer needs to be able to create a file called ".htconfig.php" in the top folder of your web server and it is unable to do so.');
$o .= t('This is most often a permission setting, as the web server may not be able to write files in your folder - even if you can.');
$o .= t('Please check with your site documentation or support people to see if this situation can be corrected.');
- $o .= t('If not, you may be required to perform a manual installation. Please see the file "INSTALL" for instructions.');
+ $o .= t('If not, you may be required to perform a manual installation. Please see the file "INSTALL.txt" for instructions.');
}
return $o;