Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new file: README.md

	deleted:    README
  • Loading branch information...
commit cdeef11f7dab22ad2267641fe744198979b0ac8c 1 parent 2d6aadd
Martin Aarhof authored
Showing with 39 additions and 0 deletions.
  1. +39 −0 README.md
View
39 README.md
@@ -0,0 +1,39 @@
+# Setup
+
+## Requirements
+
+Zend_Framework 1.11.3 (hope that newer versions also works with this code:)
+
+* Requires <span class="caps">PHP</span> 5.3.x
+* Small modifications to Bootstrap and application.ini
+
+## Bootstrap
+
+There are few things that needed for this to run
+
+In our application/Bootstrap.php we need to add this method
+
+`protected function _initConfig()
+{
+$config = new Zend_Config($this-&#62;getOptions(), true);
+Zend_Registry::set(&#39;config&#39;, $config);
+return $config;
+}`
+
+Thats because I dont see any other .shortcuts. to get the Zend_Config application.ini data
+
+## application.ini
+
+In our application/configs/application.ini we need the following
+
+`autoloadernamespaces[] = Maa`
+
+So the Directory can be found
+
+## Examples
+
+Now library/Maa/_examples/application.ini.sample for more configuration
+
+For a an working example see application/layouts/scripts/layout.phtml
+
+For documentation see public/doc/index.html
Please sign in to comment.
Something went wrong with that request. Please try again.