Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dbaltas/3754774 to your computer and use it in GitHub Desktop.
Save dbaltas/3754774 to your computer and use it in GitHub Desktop.
application.ini updates for Centurion integration in existing Zend Framework Application
+autoloadernamespaces.3 = "Centurion_"
+resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
+resources.frontController.params.displayExceptions = 0
+phpSettings.display_startup_errors = 0
+phpSettings.display_errors = 0
+
+zfdebug = false
+
+centurion.auth_profile = "User_Model_DbTable_Profile"
+
+translation.global_param = false
+translation.notExistsGetDefault = true
+
+resources.locale.default = "en"
+resources.locale.force = 1
+
+translation.default_language = en
+
+resources.frontController.params.disableOutputBuffering = true
+resources.frontController.baseurl = "/"
+
+resources.modules[] = "core"
+resources.modules[] = "media"
+resources.modules[] = "sites"
+resources.modules[] = "auth"
+resources.modules[] = "translation"
+resources.modules[] = "admin"
+resources.modules[] = "cms"
+resources.modules[] = "user"
+resources.modules[] = "flight"
+resources.modules[] = "blog"
+
+
+resources.router.routes.language.type = "Zend_Controller_Router_Route"
+resources.router.routes.language.route = "/:language"
+resources.router.routes.language.defaults.language = "en"
+resources.router.routes.language.reqs.language = ""
+
+resources.router.routes.language_unchained.type = "Zend_Controller_Router_Route"
+resources.router.routes.language_unchained.route = "/:language"
+resources.router.routes.language_unchained.defaults.language = "fr"
+resources.router.routes.language_unchained.reqs.language = "(fr|en)"
+
+resources.router.routes.admin.type = "Zend_Controller_Router_Route"
+resources.router.routes.admin.route = "/admin/"
+resources.router.routes.admin.defaults.module = "admin"
+resources.router.routes.admin.defaults.controller = "admin-dashboard"
+resources.router.routes.admin.defaults.action = "dashboard"
+
+resources.router.routes.home.type = "Centurion_Controller_Router_Route"
+resources.router.routes.home.route = "/"
+resources.router.routes.home.defaults.module = "default"
+resources.router.routes.home.defaults.controller = "index"
+resources.router.routes.home.defaults.action = "index"
+
+resources.cachemanager.core.backend.name = File
+resources.cachemanager.core.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/core"
+resources.cachemanager.core.backend.options.hashed_directory_level = 1
+resources.cachemanager.core.backend.options.hashed_directory_umask = 0777
+resources.cachemanager.core.backend.options.cache_file_umask = 0777
+resources.cachemanager.core.frontend.options.automatic_serialization = 1
+resources.cachemanager.core.frontend.options.lifetime = 480
+resources.cachemanager.core.frontend.name = Centurion_Cache_Core
+resources.cachemanager.core.frontend.customFrontendNaming = Centurion_Cache_Core
+
+resources.cachemanager.view.backend.name = File
+resources.cachemanager.view.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/output"
+resources.cachemanager.view.backend.options.hashed_directory_level = 1
+resources.cachemanager.view.backend.options.hashed_directory_umask = 0777
+resources.cachemanager.view.backend.options.cache_file_umask = 0777
+resources.cachemanager.view.frontend.options.automatic_serialization = 0
+resources.cachemanager.view.frontend.options.lifetime = 480
+resources.cachemanager.view.frontend.name = Centurion_Cache_Frontend_Output
+resources.cachemanager.view.frontend.customFrontendNaming = true
+
+
+resources.cachemanager.class.backend.name = File
+resources.cachemanager.class.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/class"
+resources.cachemanager.class.backend.options.hashed_directory_level = 1
+resources.cachemanager.class.backend.options.hashed_directory_umask = 0777
+resources.cachemanager.class.backend.options.cache_file_umask = 0777
+
+resources.cachemanager.class.frontend.options.automatic_serialization = 0
+resources.cachemanager.class.frontend.options.lifetime = 480
+
+
+resources.cachemanager.page.backend.name = Centurion_Cache_Backend_Static
+resources.cachemanager.page.backend.customBackendNaming = true
+resources.cachemanager.page.backend.options.public_dir = APPLICATION_PATH "/../public/cached"
+resources.cachemanager.page.backend.options.cache_directory_umask = 0777
+resources.cachemanager.page.backend.options.cache_file_umask = 0777
+
+resources.cachemanager.page.frontend.name = Centurion_Cache_Frontend_Capture
+resources.cachemanager.page.frontend.customFrontendNaming = true
+
+
+resources.cachemanager.pagetag.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/tags"
+
+
+resources.cachemanager._page.backend.name = File
+resources.cachemanager._page.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/page"
+resources.cachemanager._page.backend.options.hashed_directory_level = 1
+resources.cachemanager._page.backend.options.hashed_directory_umask = 0777
+resources.cachemanager._page.backend.options.cache_file_umask = 0777
+
+resources.cachemanager._page.frontend.options.automatic_serialization = 0
+resources.cachemanager._page.frontend.options.lifetime = 480
+resources.cachemanager._page.frontend.name = Centurion_Cache_Frontend_Page
+resources.cachemanager._page.frontend.customFrontendNaming = true
+resources.cachemanager._page.frontend.options.lifetime = 7200
+resources.cachemanager._page.frontend.options.debug_header = false
+resources.cachemanager._page.frontend.options.memorize_headers[] = "Content-Type"
+resources.cachemanager._page.frontend.options.memorize_headers[] = "Location"
+resources.cachemanager._page.frontend.options.default_options.cache_with_get_variables = 1
+resources.cachemanager._page.frontend.options.default_options.cache_with_post_variables = 1
+resources.cachemanager._page.frontend.options.default_options.cache_with_session_variables = 1
+resources.cachemanager._page.frontend.options.default_options.cache_with_files_variables = 0
+resources.cachemanager._page.frontend.options.default_options.cache_with_cookie_variables = 1
+resources.cachemanager._page.frontend.options.default_options.make_id_with_get_variables = 1
+resources.cachemanager._page.frontend.options.default_options.make_id_with_post_variables = 1
+resources.cachemanager._page.frontend.options.default_options.make_id_with_session_variables = 0
+resources.cachemanager._page.frontend.options.default_options.make_id_with_files_variables = 0
+resources.cachemanager._page.frontend.options.default_options.make_id_with_cookie_variables = 0
+resources.cachemanager._page.frontend.options.default_options.cache = 0
+
+resources.translate.adapter = "TP24_Translate_Adapter_File"
+resources.translate.data = APPLICATION_PATH "/../data/locales/"
+resources.translate.locale = en_GB
+resources.translate.registry_key = "Zend_Translate"
+resources.translate.scan = directory
+resources.translate.reload = true
+
+resources.translate.options.disableNotices = true
+
+translation.global_param = false
+translation.notExistsGetDefault = true
+
+resources.locale.default = "en_GB"
+resources.locale.force = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment