initial uno config

This commit is contained in:
redmatrix 2016-02-04 23:58:31 -08:00
parent a8456782b5
commit 9cf105f8ea
14 changed files with 37 additions and 10 deletions

View file

@ -19,6 +19,8 @@ $db_pass = 'mysqlpassword';
$db_data = 'mysqldatabasename'; $db_data = 'mysqldatabasename';
$db_type = 0; // use 1 for postgres, 0 for mysql $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -138,16 +138,17 @@ function setup_post(&$a) {
$tpl = get_intltext_template('htconfig.tpl'); $tpl = get_intltext_template('htconfig.tpl');
$txt = replace_macros($tpl,array( $txt = replace_macros($tpl,array(
'$dbhost' => $dbhost, '$dbhost' => $dbhost,
'$dbport' => $dbport, '$dbport' => $dbport,
'$dbuser' => $dbuser, '$dbuser' => $dbuser,
'$dbpass' => $dbpass, '$dbpass' => $dbpass,
'$dbdata' => $dbdata, '$dbdata' => $dbdata,
'$dbtype' => $dbtype, '$dbtype' => $dbtype,
'$timezone' => $timezone, '$uno' => 0,
'$siteurl' => $siteurl, '$timezone' => $timezone,
'$site_id' => random_string(), '$siteurl' => $siteurl,
'$phpath' => $phpath, '$site_id' => random_string(),
'$phpath' => $phpath,
'$adminmail' => $adminmail '$adminmail' => $adminmail
)); ));

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -12,6 +12,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * après l'installation. Lorsque des modifications sont apportés à travers le panneau d'administration

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they

View file

@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}'; $db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres $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 * 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 * after a successful site install. Once they are set in the admin panel, they