php-error.log | php-error.log | ||||
rsc/sass/_onthefly.scss | rsc/sass/_onthefly.scss | ||||
rsc/themes/ | rsc/themes/ | ||||
templates/ |
case 'home': | case 'home': | ||||
default: | default: | ||||
$f3->mset(array( | $f3->mset(array( | ||||
'template'=>'tpl/index.html', | |||||
'template'=>$f3->get('template') ? :'tpl/index.html', | |||||
'templateContent'=>'maincontent.html' | 'templateContent'=>'maincontent.html' | ||||
)); | )); | ||||
self::folder2(); | self::folder2(); |
$f3->set('CONTENT_BASE', array_shift(explode("/",$f3->get('CONTENT'))).'/'); | $f3->set('CONTENT_BASE', array_shift(explode("/",$f3->get('CONTENT'))).'/'); | ||||
$f3->set('UI', implode(';', array( | $f3->set('UI', implode(';', array( | ||||
ROOT.$f3->get('templatepath'), | |||||
ROOT.'app/views/', | ROOT.'app/views/', | ||||
ROOT.$f3->get('CONTENT_BASE') // content folders can contain .html templates | ROOT.$f3->get('CONTENT_BASE') // content folders can contain .html templates | ||||
))); | ))); |
;public directory for css, javascript, images etc. | ;public directory for css, javascript, images etc. | ||||
RESOURCES=rsc/ | RESOURCES=rsc/ | ||||
;default site template: | ;default site template: | ||||
templatepath=app/views/ | |||||
template=tpl/index.html | template=tpl/index.html | ||||
theme=style.css | theme=style.css | ||||
themepath=./ | themepath=./ |