dev-master
9999999-dev http://cubex.io
BSD-3-Clause
The Requires
- php >=5.4.0
- cubex/cubex *
by Brooke Bryan
by Gareth Evans
Setup your Apache Virtual Host Config INCLUDING "SetEnv CUBEX_ENV development" replacing development with your chosen environment. Cubex will automatically load {CUBEX_ENV}.ini from your conf directory and merge on top of defaults.ini, (*1)
<VirtualHost *:80> SetEnv CUBEX_ENV development DocumentRoot "project_path/public" ServerName cubex.local ServerAlias www.cubex.local ErrorLog "logs/cubex-error.log" CustomLog "logs/cubex-access.log" common RewriteEngine on RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] </VirtualHost>
Recommended PHP Modules, (*2)
If you are unable to create a VHost, you can create a .htaccess file with the following information, (*3)
SETENV CUBEX_ENV development RewriteEngine on RewriteBase / RewriteRule ^(.*)$ index.php?__path__=$1 [L,QSA]
BSD-3-Clause