diff options
author | redmatrix <git@macgirvin.com> | 2016-02-04 23:58:31 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-04 23:58:31 -0800 |
commit | 9cf105f8ea89165d46cfdfd6dbb729e7647c1fd0 (patch) | |
tree | f7667ebfed533591e42f644abcd7ce9ee6a46719 | |
parent | a8456782b5c59f986b20af640cf5e4cd637be006 (diff) | |
download | volse-hubzilla-9cf105f8ea89165d46cfdfd6dbb729e7647c1fd0.tar.gz volse-hubzilla-9cf105f8ea89165d46cfdfd6dbb729e7647c1fd0.tar.bz2 volse-hubzilla-9cf105f8ea89165d46cfdfd6dbb729e7647c1fd0.zip |
initial uno config
-rwxr-xr-x | install/htconfig.sample.php | 2 | ||||
-rwxr-xr-x | mod/setup.php | 21 | ||||
-rw-r--r-- | view/cs/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/de/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/en-au/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/en-gb/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/en/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/eo/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/fr/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/it/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/nb-no/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/pt-br/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/ru/htconfig.tpl | 2 | ||||
-rw-r--r-- | view/sv/htconfig.tpl | 2 |
14 files changed, 37 insertions, 10 deletions
diff --git a/install/htconfig.sample.php b/install/htconfig.sample.php index df39bc9ad..50ce9658b 100755 --- a/install/htconfig.sample.php +++ b/install/htconfig.sample.php @@ -19,6 +19,8 @@ $db_pass = 'mysqlpassword'; $db_data = 'mysqldatabasename'; $db_type = 0; // use 1 for postgres, 0 for mysql +define( 'UNO', 0 ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/mod/setup.php b/mod/setup.php index 5c9e988d9..886213b9d 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -138,16 +138,17 @@ function setup_post(&$a) { $tpl = get_intltext_template('htconfig.tpl'); $txt = replace_macros($tpl,array( - '$dbhost' => $dbhost, - '$dbport' => $dbport, - '$dbuser' => $dbuser, - '$dbpass' => $dbpass, - '$dbdata' => $dbdata, - '$dbtype' => $dbtype, - '$timezone' => $timezone, - '$siteurl' => $siteurl, - '$site_id' => random_string(), - '$phpath' => $phpath, + '$dbhost' => $dbhost, + '$dbport' => $dbport, + '$dbuser' => $dbuser, + '$dbpass' => $dbpass, + '$dbdata' => $dbdata, + '$dbtype' => $dbtype, + '$uno' => 0, + '$timezone' => $timezone, + '$siteurl' => $siteurl, + '$site_id' => random_string(), + '$phpath' => $phpath, '$adminmail' => $adminmail )); diff --git a/view/cs/htconfig.tpl b/view/cs/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/cs/htconfig.tpl +++ b/view/cs/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/de/htconfig.tpl b/view/de/htconfig.tpl index 205da73a3..a81c34741 100644 --- a/view/de/htconfig.tpl +++ b/view/de/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/en-au/htconfig.tpl b/view/en-au/htconfig.tpl index 9dd0a1ab2..9611decf9 100644 --- a/view/en-au/htconfig.tpl +++ b/view/en-au/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/en-gb/htconfig.tpl b/view/en-gb/htconfig.tpl index 9dd0a1ab2..9611decf9 100644 --- a/view/en-gb/htconfig.tpl +++ b/view/en-gb/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index 17f19702f..50e05fc3e 100644 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/eo/htconfig.tpl b/view/eo/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/eo/htconfig.tpl +++ b/view/eo/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/fr/htconfig.tpl b/view/fr/htconfig.tpl index 1e7e14fb4..5171fd327 100644 --- a/view/fr/htconfig.tpl +++ b/view/fr/htconfig.tpl @@ -12,6 +12,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Note: Plusieurs de ces réglages seront disponibles via le panneau d'administration * après l'installation. Lorsque des modifications sont apportés à travers le panneau d'administration diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/nb-no/htconfig.tpl b/view/nb-no/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/nb-no/htconfig.tpl +++ b/view/nb-no/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/pt-br/htconfig.tpl b/view/pt-br/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/pt-br/htconfig.tpl +++ b/view/pt-br/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/ru/htconfig.tpl b/view/ru/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/ru/htconfig.tpl +++ b/view/ru/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they diff --git a/view/sv/htconfig.tpl b/view/sv/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/sv/htconfig.tpl +++ b/view/sv/htconfig.tpl @@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres +define( 'UNO', {{$uno}} ); + /* * Notice: Many of the following settings will be available in the admin panel * after a successful site install. Once they are set in the admin panel, they |