333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
{
$db->exec('PRAGMA foreign_keys = OFF;');
$db->begin();
$db->import(ROOT . '/include/data/0.9.0.sql');
$db->commit();
}
Utils::clearCaches();
$config->setVersion(garradin_version());
Static_Cache::remove('upgrade');
|
>
>
>
|
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
|
{
$db->exec('PRAGMA foreign_keys = OFF;');
$db->begin();
$db->import(ROOT . '/include/data/0.9.0.sql');
$db->commit();
$config->set('desactiver_site', false);
$config->save();
}
Utils::clearCaches();
$config->setVersion(garradin_version());
Static_Cache::remove('upgrade');
|