摘要:
View Code 1 <?php defined('SYSPATH') OR die('No direct script access.');2 3 class Kohana extends Kohana_Core {} 阅读全文
摘要:
View Code 1 <?php defined('SYSPATH') OR die('No direct script access.'); 2 /** 3 * Contains the most low-level helpers methods in Kohana: 4 * 5 * - Environment initialization 6 * - Locating files within the cascading filesystem 7 * - Auto-loading and transparent extension of clas. 阅读全文
摘要:
View Code 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 3 // -- Environment setup -------------------------------------------------------- 4 5 // Load the core Kohana class 6 require SYSPATH.'classes/Kohana/Core'.EXT; 7 8 if (is_file(APPPATH.'classes 阅读全文
摘要:
View Code 1 <?php 2 3 /** 4 * The directory in which your application specific resources are located. 5 * The application directory must contain the bootstrap.php file. 6 * 7 * @link http://kohanaframework.org/guide/about.install#application 8 */ 9 $application = 'application'; 10 1... 阅读全文