malipinbo
- malipinbo 2014-09-30 已签到连续签到2天,获得了10个金钱
- malipinbo 回答了问题 yii1 urlManager地址问题
<IfModule mod_rewrite.c> Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php </IfModule>
- malipinbo 回答了问题 yii1 urlManager地址问题
在你的app根目录下创建.htaccess文件,内容如下
Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php - malipinbo 回答了问题 请教一个 SQL 语句的写法
新建一个model 继承原来的model 写上自己的方法执行sql 就可以了。 好像这样的语句没办法用YII的方法
- malipinbo 回答了问题 Yii 多站点访问怎么实现呢?
配置apache 或者nginx
- malipinbo 2014-09-29 已签到连续签到1天,获得了5个金钱