diff --git a/app/config/config.php b/app/config/config.php index 447e78b..2171d33 100644 --- a/app/config/config.php +++ b/app/config/config.php @@ -1,5 +1,92 @@ '', + + /* + |-------------------------------------------------------------------------- + | Content Domain + |-------------------------------------------------------------------------- + | + | This is the domain used for serving content, such as css, javascript. + | + */ + 'content_domain' => '', + + /* + |-------------------------------------------------------------------------- + | Static Lib Path + |-------------------------------------------------------------------------- + | + | This is the path where the 'assets' directory is on the static domain. + | + */ + 'static_lib_path' => $config['content_domain'].'assets/', + + /* + |-------------------------------------------------------------------------- + | Group Style Path + |-------------------------------------------------------------------------- + | + | This is the path that is used to determine the relative path to the + | stylesheet minifier. This should not need to be changed. + | + */ + 'style_path' => $config['static_lib_path'] . '/css.php/g/'; + + /* + |-------------------------------------------------------------------------- + | Group Javascript Path + |-------------------------------------------------------------------------- + | + | This is the path that is used to determine the relative path to the + | javascript minifier. This should not need to be changed. + | + */ + 'script_path' => $config['static_lib_path'] . '/js.php/g/'; + + + /* + |-------------------------------------------------------------------------- + | Default title + |-------------------------------------------------------------------------- + | + | Default title for webpages + | + */ + + 'default_title' => "Tim's Home Page", + + /* + |-------------------------------------------------------------------------- + | Default css group + |-------------------------------------------------------------------------- + | + | Default css group + | + */ + + 'default_css_group' => "css", + + /* + |-------------------------------------------------------------------------- + | Default js group + |-------------------------------------------------------------------------- + | + | Default js group + | + */ + + 'default_js_group' => "js", ); diff --git a/app/config/routes.php b/app/config/routes.php new file mode 100644 index 0000000..7c6ddb6 --- /dev/null +++ b/app/config/routes.php @@ -0,0 +1,7 @@ + 'test', + 'default_module' => 'default', +); \ No newline at end of file diff --git a/app/errors/error.php b/app/errors/error.php index eea3ff7..7d87fac 100644 --- a/app/errors/error.php +++ b/app/errors/error.php @@ -11,7 +11,7 @@
Backtrace:
- +
File:
Line:
diff --git a/app/views/footer.php b/app/views/footer.php
new file mode 100644
index 0000000..0cdb415
--- /dev/null
+++ b/app/views/footer.php
@@ -0,0 +1,6 @@
+
+ if($foot_js != ""): ?>
+ = $foot_js ?>
+ endif ?>
+