Don't use a provide sqlite database
This commit is contained in:
parent
2487da4406
commit
78512eba7e
2 changed files with 1 additions and 8 deletions
|
@ -67,13 +67,6 @@ class Initialize extends \Flake\Core\Controller {
|
|||
|
||||
$oSystemConfig->persist();
|
||||
|
||||
# Using default PROJECT_SQLITE_FILE
|
||||
$PROJECT_SQLITE_FILE = PROJECT_PATH_SPECIFIC . "db/db.sqlite";
|
||||
|
||||
if(!file_exists($PROJECT_SQLITE_FILE)) {
|
||||
# Installing default sqlite database
|
||||
@copy(PROJECT_PATH_CORERESOURCES . "Db/SQLite/db.sqlite", $PROJECT_SQLITE_FILE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -121,4 +114,4 @@ class Initialize extends \Flake\Core\Controller {
|
|||
throw new \Exception("Unable to create " . PROJECT_PATH_SPECIFIC . ".htaccess; you may try to create it manually by copying " . PROJECT_PATH_CORERESOURCES . "System/htaccess-specific");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue