Changeset 2314

Show
Ignore:
Timestamp:
03/17/2008 08:00:13 PM (8 months ago)
Author:
Shadowhand
Message:

Updated demo controllers with a full class header and comments.

Location:
trunk
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/application/config/config.php

    r2178 r2314  
    55 * and a site_protocol is specified, the domain will be auto-detected. 
    66 */ 
    7 $config['site_domain'] = '/kohana/'; 
     7$config['site_domain'] = '/kohana/trunk/'; 
    88 
    99/** 
     
    6666$config['modules'] = array 
    6767( 
    68         // MODPATH.'auth',   // Authentication 
     68        MODPATH.'auth',   // Authentication 
    6969        // MODPATH.'forge',  // Form generation 
    7070        // MODPATH.'kodoc',  // Self-generating documentation 
  • trunk/application/controllers/examples.php

    r2233 r2314  
    33 * Contains examples of various Kohana library examples. You can access these 
    44 * samples in your own installation of Kohana by going to ROOT_URL/examples. 
     5 * This controller should NOT be used in production. It is for demonstration 
     6 * purposes only! 
    57 * 
    68 * $Id$ 
  • trunk/application/controllers/welcome.php

    r2252 r2314  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22/** 
    3  * @package Core 
     3 * Default Kohana controller. This controller should NOT be used in production. 
     4 * It is for demonstration purposes only! 
    45 * 
    5  * Default Kohana controller. 
     6 * @package    Core 
     7 * @author     Kohana Team 
     8 * @copyright  (c) 2007-2008 Kohana Team 
     9 * @license    http://kohanaphp.com/license.html 
    610 */ 
    711class Welcome_Controller extends Controller { 
  • trunk/modules/auth/controllers/auth.php

    r2235 r2314  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    2  
    3 class Auth_Controller extends Controller { 
     2/** 
     3 * Auth module demo controller. This controller should NOT be used in production. 
     4 * It is for demonstration purposes only! 
     5 * 
     6 * $Id$ 
     7 * 
     8 * @package    Auth 
     9 * @author     Kohana Team 
     10 * @copyright  (c) 2007-2008 Kohana Team 
     11 * @license    http://kohanaphp.com/license.html 
     12 */ 
     13class Auth_Demo_Controller extends Controller { 
    414 
    515        // Do not allow to run in production 
  • trunk/modules/forge/controllers/forge_demo.php

    r2229 r2314  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    2  
     2/** 
     3 * Forge module demo controller. This controller should NOT be used in production. 
     4 * It is for demonstration purposes only! 
     5 * 
     6 * $Id$ 
     7 * 
     8 * @package    Forge 
     9 * @author     Kohana Team 
     10 * @copyright  (c) 2007-2008 Kohana Team 
     11 * @license    http://kohanaphp.com/license.html 
     12 */ 
    313class Forge_demo_Controller extends Controller { 
    414 
  • trunk/modules/gmaps/controllers/google_map.php

    r2229 r2314  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22/** 
    3  * Gmaps module demo controller. 
     3 * Gmaps module demo controller. This controller should NOT be used in production. 
     4 * It is for demonstration purposes only! 
    45 * 
    56 * $Id$