Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.38 KB

README.textile

File metadata and controls

39 lines (24 loc) · 1.38 KB

RAS blog

This is a simple obligatory PHP student project. We’ve tried to create a blog
based on the MVC principle, partly inspired by Ruby on Rails.

External components

We’ve used TinyMCE, Prototype, Scriptaculous and Smarty.

Pretty URLs

The .htaccess or nginx rewrite rules are necessary to get pretty URLs.

nginx rewrite rules

       location / {
          rewrite  ^(.*)$  /index.php?url=$1  last;
          break;
        }

        location ^~ /index.php/ {
        }

        location ~* (robots\.txt|images|javascript|css|phpinfo) {
        }

Copyright

Copyright © 2011 ringe, alewol, gitsme

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.