forked from coffeeich/kohana-client-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
101 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
<?php | ||
|
||
return array( | ||
'loader' => '', //'frontend/loader', script which should initialize all require.js environment | ||
'require' => '', //'frontend/require', require.js script path for development mode | ||
'production' => '', //'frontend/builds', production builds path, which contains require.js builds with almond stubs | ||
'development' => '', //'frontend/pages', development paged path with web pages entry points | ||
'pages' => array(), // a list of web pages configutation, it's hash map like: | ||
// 'Welcome' => array( - controller name (with directory subpath) | ||
// 'index' => array( - action name | ||
// 'use_build' => true, - use a script from builds dir | ||
// 'page' => 'welcome_index', - use a script wich main name is 'welcome_index' | ||
// 'theme' => 'default', - use a theme named 'default' (it's in '{pages,builds}/skins/welcome_index/{less,css}/default.{less,css}') | ||
// ), | ||
// ), | ||
'loader' => '', // the script which should initialize all require.js environment, i.e. 'frontend/loader' | ||
'require' => '', // a require.js script path for development mode, i.e. 'frontend/require' | ||
'production' => '', // a production builds path, which contains a require.js builds with the almond stubs, i.e. 'frontend/builds' | ||
'development' => '', // a development page path with the web pages entry points, i.e. 'frontend/pages' | ||
'legacy' => array(), // a web page configutation, i.e.: | ||
// array( | ||
// 'use_build' => true, - use a script from builds dir | ||
// 'page' => 'legacy_support', - use a script wich main name is 'welcome_index' | ||
// 'theme' => 'default', - use a theme named 'default' (it's in '{pages,builds}/skins/legacy_support/{less,css}/default.{less,css}') | ||
// ), | ||
'pages' => array(), // a list of web pages configutation, it's hash, i.e.: | ||
// array( | ||
// 'Welcome' => array( - controller name (with directory subpath) | ||
// 'index' => array( - action name | ||
// 'use_build' => true, - use a script from builds dir | ||
// 'page' => 'welcome_index', - use a script wich main name is 'welcome_index' | ||
// 'theme' => 'default', - use a theme named 'default' (it's in '{pages,builds}/skins/welcome_index/{less,css}/default.{less,css}') | ||
// ), | ||
// ), | ||
// ), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters