Skip to content
Simple voting script written in CakePHP
PHP Other
  1. PHP 99.7%
  2. Other 0.3%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
lib/Cake
.gitignore
.htaccess
LICENSE
README.markdown
index.php

README.markdown

README

A simple, CakePHP based application, allows users to submit 'items' and vote on them. Currently in use for a "Hot or not" type application but could be used for anything.

Installation instructions:

1] Edit /app/Config/database.php and add your database details.

2] Edit /app/Config/core.php and edit the Security values.

3] Upload /app/schema.sql to your database server and import it.

4] Upload all the files to your server.

Enjoy.

Styling

All CSS is in /app/webroot/css - IMPORTANT, you will need to edit /app/View/Layouts/default.ctp and edit the line which points to the CSS file.

The "Wrapper" file is in /app/View/Layouts/default.ctp - you should only need to edit this file. (if you need to)

CakePHP 2.0 RC2

This application is using a RELEASE CANDIDATE version of CakePHP and should be considered BETA software at best. I make no assurances or guarantees that this will work on your set-up.

Note: The /Config directory hasn't been included (Git is being a git on my PC and won't commit it) so you'll need to download the contents of that from CakePHP.org

License

Copyright (c) 2011, Michael Burton All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

You can’t perform that action at this time.