'Application',
),
'module_listener_options' => array(
- 'config_cache_enabled' => false,
- 'cache_dir' => realpath(dirname(__DIR__) . '/data/cache'),
- 'application_environment' => getenv('APPLICATION_ENV'),
+ 'config_cache_enabled' => false,
+ 'cache_dir' => realpath(dirname(__DIR__) . '/data/cache'),
),
);
--- /dev/null
+local.config.php
--- /dev/null
+<?php
+/**
+ * Global Configuration Override
+ *
+ * You can use this file for overridding configuration values from modules, etc.
+ * You would place values in here that are agnostic to the environment and not
+ * sensitive to security.
+ *
+ * @NOTE: In practice, this file will typically be INCLUDED in your source
+ * control, so do not include passwords or other sensitive information in this
+ * file.
+ */
+
+return array(
+ // ...
+);
--- /dev/null
+<?php
+/**
+ * Local Configuration Override
+ *
+ * This configuration override file is for overriding environment-specific and
+ * security-sensitive configuration information. Copy this file without the
+ * .dist extension at the end and populate values as needed.
+ *
+ * @NOTE: This file is ignored from Git by default with the .gitignore included
+ * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
+ * credentials from accidentally being comitted into version control.
+ */
+
+return array(
+ // ...
+);
);
}
- public function getConfig($env = null)
+ public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
-Subproject commit a2777d1bd615403635579804e1cb7a086ef47f88
+Subproject commit 853f21da7cc04d7832107e08accc88533de6ad54