随笔分类 -  kohana

kohana
只有注册用户登录后才能阅读该文。
posted @ 2013-12-31 10:36 !!!!!!!!!!! 阅读(30) 评论(0) 推荐(0)
摘要:View Code 1 <?php defined('SYSPATH') OR die('No direct script access.');2 3 class Kohana extends Kohana_Core {} 阅读全文
posted @ 2013-03-10 10:53 !!!!!!!!!!! 阅读(157) 评论(0) 推荐(0)
摘要: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. 阅读全文
posted @ 2013-03-10 10:48 !!!!!!!!!!! 阅读(1603) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2013-03-10 10:43 !!!!!!!!!!! 阅读(1679) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2013-03-10 10:24 !!!!!!!!!!! 阅读(572) 评论(0) 推荐(0)
摘要:https://github.com/kohana/pagination/tree/3.2/develop/classes/kohana 阅读全文
posted @ 2013-03-09 16:06 !!!!!!!!!!! 阅读(222) 评论(0) 推荐(0)
摘要:下载最新稳定版本的框架创建一个名为 'kohana' 的目录并解压缩到这个目录上传到这个目录的所有文件到你的服务器上编辑 application/bootstrap.php 文件并按实际情况修改下面配置:为你的程序设置默认时区在 Kohana::init 方法中设置 base_url 的值为 kohana 目录的路径(或域名地址)确保 application/cache 目录和 application/logs 目录为可写属性,命令为chmod application/{cache,logs} 0777在你喜欢的浏览器地址栏中输入 base_url 来测试 Kohana 是否安 阅读全文
posted @ 2013-01-16 12:23 !!!!!!!!!!! 阅读(1827) 评论(0) 推荐(0)