Browse Source

check for sqlite

remotes/origin/stable4
Tom Needham 14 years ago
parent
commit
31d268fe92
  1. 6
      lib/migrate.php

6
lib/migrate.php

@ -482,6 +482,12 @@ class OC_Migrate{
$datadir = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" );
// DB type
if( !is_callable( 'sqlite_open' ) || !class_exists( 'SQLite3' ) ){
OC_Log::write( 'migration', 'SQLite not found', OC_Log::ERROR );
return false;
}
// Prepare options array
$options = array(
'portability' => MDB2_PORTABILITY_ALL & (!MDB2_PORTABILITY_FIX_CASE),

Loading…
Cancel
Save