摘要: /** * Initializes the router * * @param array $options */ protected function initRouter($options = array()) { $config = $this->di['config']; $this->di 阅读全文
posted @ 2014-07-24 09:07 王默默 阅读(1426) 评论(0) 推荐(0) 编辑
摘要: <?php /** * Bootstraps the application */ use Phalcon\DI\FactoryDefault as PhDi, Phalcon\Config as PhConfig, Phalcon\Session\Adapter\Files as PhSessio 阅读全文
posted @ 2014-07-24 09:06 王默默 阅读(1634) 评论(0) 推荐(0) 编辑
摘要: run(array());} catch (\Phalcon\Exception $e) { echo $e->getMessage();} catch (PDOException $e){ echo $e->getMessage();} 阅读全文
posted @ 2014-07-24 09:05 王默默 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 先安装GIT 然后从 git://github.com/phalcon/cphalcon.git 这里下载安装文件 编译完成就可以安装了! 编译chmod -R 777 cphalcon1. 创建从C源扩展遵循这些步骤:自动检测你的架构git clone --depth=1 git://github 阅读全文
posted @ 2014-07-24 09:04 王默默 阅读(1630) 评论(0) 推荐(0) 编辑
摘要: GIT在Linux上的安装和使用简介解压后切换到其目录$ tar xvfj git-1.7.6.tar.bz2$ cd git-1.7.6 使用默认配置进行安装,如果想修改配置,可以使用 ./configure --help 来获取帮助 $ ./configure$ make$ make insta... 阅读全文
posted @ 2014-07-24 09:02 王默默 阅读(335) 评论(0) 推荐(0) 编辑