Refactored persistence with mysql and sqlite to factorize more things with a CMS_STORAGE_SQL .. based only on sql statement execution.
Various changes
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
{
|
||||
"database": {
|
||||
"datasource": {
|
||||
"driver": "MySQL",
|
||||
"driver": "sqlite",
|
||||
"environment": "sqlite_development"
|
||||
},
|
||||
"olddatasource": {
|
||||
"driver": "null",
|
||||
"environment": "development"
|
||||
},
|
||||
"environments": {
|
||||
"sqlite_development": {
|
||||
"connection_string":"Server=localhost;Port=3306;Database=site/cms_lite.db;Uid=root;Pwd=;"
|
||||
},
|
||||
"test": {
|
||||
"connection_string":"Server=localhost;Port=3306;Database=cms_dev;Uid=root;Pwd=;"
|
||||
},
|
||||
@@ -29,4 +36,4 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[layout]
|
||||
root-dir=site/www
|
||||
themes-dir=site/themes
|
||||
themes-dir=site/www/themes
|
||||
|
||||
[site]
|
||||
name=Eiffel CMS
|
||||
|
||||
Reference in New Issue
Block a user