anbrryvip / yafcms

基于yaf框架编写的cms程序
1 stars 1 forks source link

我在apache2下面怎么进入admin后台呢? #1

Open joostshao opened 10 years ago

anbrryvip commented 10 years ago

程序没写完.....只是一个做了基本的封装,url格式是http://url/?m=admin&a=index&c=index 放在github只是为了自己代码维护方便...完成度不足5%

joostshao commented 10 years ago

ubuntu@ubuntu:/etc/apache2/sites-enabled$ cat www <VirtualHost *:80> DocumentRoot /var/www/share/yaf/ <Directory "/var/www/share/yaf/"> Options Indexes MultiViews FollowSymLinks AllowOverride all Order deny,allow Deny from all Allow from all RewriteEngine on ServerName www.myyaf.com ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined

这是我的配置,但是后台有问题,http://localhost/?m=admin&a=index&c=index

anbrryvip commented 10 years ago

cms / application / modules / Admin / controllers / Index.php 哦哦~ sorry 我后台就没写完..... 你可以自己删除这一块的东西自己写, yaf本身就只是提供了mvc路由分发...orm database都没有封装,需要自己封装...你可以联系我QQ 156472

joostshao commented 10 years ago

哦 明白了