Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added application.ini to .gitignore and added copying the example to …

…the install script
  • Loading branch information...
commit 122fd412a5b59d14d25ee2648a0711fb7834d48b 1 parent 0db5384
Chris Ramakers authored
View
3  .gitignore
@@ -1,6 +1,7 @@
logs/
cache/
-application/config/environment.php
+application/configs/environment.php
+application/configs/application.ini
.buildpath
.project
.settings
View
22 application/configs/application.ini → application/configs/application.example.ini
@@ -2,14 +2,14 @@
; Generic configuration
release.version = "0.0"
-frontend.url = "http://zf"
+frontend.url = "http://frontend.zfskel"
; db connection
resources.db.adapter = "PDO_MYSQL"
-resources.db.params.dbname = "zf"
-resources.db.params.username = "root"
+resources.db.params.dbname = "zfskel"
+resources.db.params.username = ""
resources.db.params.password = ""
-resources.db.params.host = "127.0.0.1"
+resources.db.params.host = "localhost"
resources.db.params.charset = "UTF8"
resources.db.isdefaulttableadapter = TRUE
@@ -30,20 +30,6 @@ cache.default.frontend.options.automatic_serialization = TRUE
cache.default.backend.name = "File"
cache.default.backend.options.cache_dir = ROOT_PATH "/cache"
-; cache.memcache.frontend.name = "Core"
-; cache.memcache.frontend.options.lifetime = 1800
-; cache.memcache.frontend.options.automatic_serialization = TRUE
-; cache.memcache.frontend.options.caching = TRUE
-; cache.memcache.frontend.options.logging = TRUE
-; cache.memcache.backend.name = "Memcached"
-; cache.memcache.backend.options.servers.server1.host = "127.0.0.1"
-; cache.memcache.backend.options.servers.server1.port = 11211
-; cache.memcache.backend.options.servers.server1.persistent = TRUE
-; cache.memcache.backend.options.servers.server1.weight = 1
-; cache.memcache.backend.options.servers.server1.timeout = 5
-; cache.memcache.backend.options.servers.server1.retry_interval = 15
-; cache.memcache.backend.options.servers.server1.status = TRUE
-
; Session configuration
session.remember_me.lifetime = 1209600
View
3  scripts/install.sh
@@ -19,8 +19,9 @@ mkdir "${prefix}logs/frontend/missing_translations"
mkdir "${prefix}cache"
mkdir "${prefix}public/frontend/tmp"
-# Copy the dev environment folder
+# Copy the config files
cp "${prefix}application/configs/environment.example.php" "${prefix}application/configs/environment.php"
+cp "${prefix}application/configs/application.example.ini" "${prefix}application/configs/application.ini"
# Create the default log files
touch "${prefix}logs/backoffice/flagflippers.log"
Please sign in to comment.
Something went wrong with that request. Please try again.