Changeset 3442 in subversion
- Timestamp:
- Mar 29, 2010 12:28:14 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/installer/rcube_install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/installer/rcube_install.php
r3331 r3442 250 250 'explain' => 'This requires the <tt>pspell</tt> extension which could not be loaded.'); 251 251 } 252 if (!empty($this->config['spellcheck_languages'])) {252 else if (!empty($this->config['spellcheck_languages'])) { 253 253 foreach ($this->config['spellcheck_languages'] as $lang => $descr) 254 if (!pspell_new($lang))254 if (!pspell_new($lang)) 255 255 $out['dependencies'][] = array('prop' => 'spellcheck_languages', 256 256 'explain' => "You are missing pspell support for language $lang ($descr)"); … … 349 349 ); 350 350 351 $schema =& MDB2_Schema::factory($this->config['db_dsnw'], $options); 351 $dsnw = $this->config['db_dsnw']; 352 $schema = MDB2_Schema::factory($dsnw, $options); 352 353 $schema->db->supported['transactions'] = false; 353 354 … … 366 367 367 368 // load reference schema 368 $dsn = MDB2::parseDSN($this->config['db_dsnw']); 369 $ref_schema = INSTALL_PATH . 'SQL/' . $dsn['phptype'] . '.schema.xml'; 369 $dsn_arr = MDB2::parseDSN($this->config['db_dsnw']); 370 371 $ref_schema = INSTALL_PATH . 'SQL/' . $dsn_arr['phptype'] . '.schema.xml'; 370 372 371 if (is_ file($ref_schema)) {373 if (is_readable($ref_schema)) { 372 374 $reference = $schema->parseDatabaseDefinition($ref_schema, false, array(), $schema->options['fail_on_invalid_names']); 373 375
Note: See TracChangeset
for help on using the changeset viewer.
