Browse Source

switched to sed for php config

tags/v1.0.0^0
Robin Thoni 8 years ago
parent
commit
82f531f7b0
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      postfixadmin/postfixadmin-3.0/config.inc.php

+ 4
- 4
postfixadmin/postfixadmin-3.0/config.inc.php View File

82
 // pgsql = PostgreSQL
82
 // pgsql = PostgreSQL
83
 // sqlite = SQLite 3
83
 // sqlite = SQLite 3
84
 $CONF['database_type'] = 'pgsql';
84
 $CONF['database_type'] = 'pgsql';
85
-$CONF['database_host'] = getenv('POSTGRES_HOST');
86
-$CONF['database_user'] = getenv('POSTGRES_USER');
87
-$CONF['database_password'] = getenv('POSTGRES_PASSWORD');
88
-$CONF['database_name'] = getenv('POSTGRES_DB');
85
+$CONF['database_host'] = 'POSTGRES_HOST';
86
+$CONF['database_user'] = 'POSTGRES_USER';
87
+$CONF['database_password'] = 'POSTGRES_PASSWORD';
88
+$CONF['database_name'] = 'POSTGRES_DB';
89
 // If you need to specify a different port for a MYSQL database connection, use e.g.
89
 // If you need to specify a different port for a MYSQL database connection, use e.g.
90
 //   $CONF['database_host'] = '172.30.33.66:3308';
90
 //   $CONF['database_host'] = '172.30.33.66:3308';
91
 // If you need to specify a different port for POSTGRESQL database connection
91
 // If you need to specify a different port for POSTGRESQL database connection

Loading…
Cancel
Save