Skip to content

Commit da8393b

Browse files
committed
More readme files.
1 parent b544c44 commit da8393b

File tree

9 files changed

+18
-3
lines changed

9 files changed

+18
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The configuration class is chosen by the environment variable in config.php in the app directory. Throughout
2+
your project however you just call Config::instance()->parameterName. This allows for auto complete in the IDE.
3+
Every parameter should be defined in Config and other environment dependent changes should be made in ConfigDev,
4+
ConfigProd etc.
5+
6+
Generally works like the Di.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Here is where the routes called in the URL go. Your controllers should extend base controller. This is also
2+
where you should use the dependency injector to get instances of business logic objects.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The class here is chosen by the environment variable set in config.php in the root app directory. It will also
2+
assign that to be the class that is returned when you call Di::instance() within your controller classes.
3+
4+
Every method should be defined on the Di class and then over ridden in an environment specific class.
5+
6+
This allows you to return different objects based on if it is production or development for example if you use a
7+
different logger like MonoLog in production.

template/public_html/css/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

template/public_html/css/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Location for your CSS files.

template/public_html/img/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

template/public_html/img/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Location for your images

template/public_html/js/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

template/public_html/js/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Location for your javascript files. I'm guessing you knew that but this way git doesn't delete this directory ;-)

0 commit comments

Comments
 (0)