Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
Add directory organization docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatanvasovic committed Oct 3, 2013
1 parent 95195e0 commit 0e4a47e
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Use `layout/` directory for page layouts.
Here is just default layout, `default.php`.

Using layouts is simple:

```php
<?php
$root = $_SERVER['DOCUMENT_ROOT'];
Expand All @@ -90,4 +91,25 @@ include_once 'layout/layout-name.php';
## PHP configuration

Example PHP configuration for Hackwork is located in `etc/php.ini`. It
contains required settings.
contains required settings.

## Directory organization

By default, Hackwork uses following directory organization:

```
.
├── assets/
│ ├── css/
│ ├── font/
│ ├── img/
│ ├── js/
├── core/
│ ├── functions.php
│ ├── variables.php
├── include/
│ ├── footer.php
│ ├── meta.php
└── layout/
└── default.php
```

0 comments on commit 0e4a47e

Please sign in to comment.