diff --git a/app/app_controller.php b/app/app_controller.php index a202410c6..7d0c8e1b2 100644 --- a/app/app_controller.php +++ b/app/app_controller.php @@ -8,6 +8,16 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// +/** + * + * @filesource + * @package cake + * @subpackage cake.app + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + /** * This file is application-wide controller file. You can put all * application-wide controller-related methods here. diff --git a/app/app_model.php b/app/app_model.php index f8c042810..44f88ce7c 100644 --- a/app/app_model.php +++ b/app/app_model.php @@ -8,6 +8,16 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// +/** + * + * @filesource + * @package cake + * @subpackage cake.app + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + /** * This file is application-wide model file. You can put all * application-wide model-related methods here. diff --git a/app/controllers/pages_controller.php b/app/controllers/pages_controller.php index 5748391d4..6d12f2f71 100644 --- a/app/controllers/pages_controller.php +++ b/app/controllers/pages_controller.php @@ -8,23 +8,54 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// -class PagesController extends PagesHelper -{ + +/** + * + * @filesource + * @package cake + * @subpackage cake.app.controllers + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + +/** + * This file is application-wide controller file. You can put all + * application-wide controller-related methods here. + * + * Add your application-wide methods in the class below, your controllers + * will inherit them. + * + * @package cake + * @subpackage cake.app.controllers + */ +class PagesController extends PagesHelper{ + +/** + * Enter description here... + * + * @var unknown_type +*/ var $helpers = array('html', 'ajax'); - /** - * Displays a view - * - * @package cake - * @subpackage cake.app - */ + + +/** + * Displays a view + * + */ function display() { if (!func_num_args()) + { $this->redirect('/'); + } $path = func_get_args(); + if (!count($path)) + { $this->redirect('/'); + } $this->set('page', $path[0]); $this->set('subpage', empty($path[1])? null: $path[1]); diff --git a/app/controllers/tests_controller.php b/app/controllers/tests_controller.php index 26f780979..76c002ecd 100644 --- a/app/controllers/tests_controller.php +++ b/app/controllers/tests_controller.php @@ -8,13 +8,26 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// +/** + * + * @filesource + * @package cake + * @subpackage cake.app.controllers + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + +/** + * + * @package cake + * @subpackage cake.app.controllers + */ class TestsController extends TestsHelper { /** * Runs all library and application tests * - * @package cake - * @subpackage cake.app */ function test_all () { diff --git a/app/helpers/pages_helper.php b/app/helpers/pages_helper.php index 39c8c42db..98ff9b754 100644 --- a/app/helpers/pages_helper.php +++ b/app/helpers/pages_helper.php @@ -8,11 +8,21 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// +/** + * + * @filesource + * @package cake + * @subpackage cake.app.helpers + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + /** * In this file you can extend the PagesController. * * @package cake - * @subpackage cake.app + * @subpackage cake.app.helpers */ class PagesHelper extends AppController diff --git a/app/helpers/tests_helper.php b/app/helpers/tests_helper.php index e45c1e109..102f889db 100644 --- a/app/helpers/tests_helper.php +++ b/app/helpers/tests_helper.php @@ -8,11 +8,21 @@ // + Licensed under The MIT License + // ////////////////////////////////////////////////////////////////////////// +/** + * + * @filesource + * @package cake + * @subpackage cake.app.helpers + * @version $Revision:$ + * @modifiedby $LastChangedBy:$ + * @lastmodified $Date:$ + */ + /** * In this file you can extend the TestsController. * * @package cake - * @subpackage cake.app + * @subpackage cake.app.helpers */ class TestsHelper extends AppController diff --git a/public/css.php b/public/css.php index 568d38655..b10f6c9f3 100644 --- a/public/css.php +++ b/public/css.php @@ -54,12 +54,12 @@ function make_clean_css ($path, $name) } /** - * Enter description here... - * - * @param unknown_type $path - * @param unknown_type $content - * @return unknown - */ + * Enter description here... + * + * @param unknown_type $path + * @param unknown_type $content + * @return unknown + */ function write_css_cache ($path, $content) { if (!is_dir(dirname($path)))