Difference between revisions of "Zend Application Development"
From zen2
(Created page with '==Create the initial framework== <pre> zf.sh create project csf </pre> ==Key Files== ===index.php=== /public/index.php is now the main intro to the site. APPLICATION_ENV is wher…') |
m (1 revision) |
(No difference)
| |
Latest revision as of 08:45, 25 July 2013
Create the initial framework
zf.sh create project csf
Key Files
index.php
/public/index.php is now the main intro to the site. APPLICATION_ENV is where production, development etc is defined. This is then used in /application/configs/application.ini APPLICATION_ENV can take the value from /public/.htaccess which may include the line
SetEnv APPLICATION_ENV development
index.php will then turn this into "development : production" to pass to application.ini
application.ini
This is where paths and database connections are defined.
