Permalink
Browse files

Init

  • Loading branch information...
1 parent b7cf1a7 commit 11ab9f3b225d6efc7d3bf3704d6de5b05ba1bf5b @tsak committed Sep 3, 2011
Showing 881 changed files with 215,837 additions and 0 deletions.
View
@@ -0,0 +1,21 @@
+/app/tmp/cache/persistent/cake_*
+!/app/tmp/cache/persistent/empty
+/app/tmp/cache/models/*
+!/app/tmp/cache/models/empty
+/app/tmp/cache/views/*
+!/app/tmp/cache/views/empty
+/app/tmp/logs/*.log
+/app/tmp/sessions/*
+!/app/tmp/sessions/empty
+/app/tmp/smarty/cache/*.php
+/app/tmp/smarty/compile/*.php
+/app/tmp/tests/*
+!/app/tmp/tests/empty
+/app/tmp/cache/rss*
+/app/tmp/cache/long/*
+!/app/tmp/cache/long/empty
+/app/tmp/cache/short/*
+!/app/tmp/cache/short/empty
+/app/config/core.php
+/app/config/database.php
+.DS_Store
View
@@ -0,0 +1,5 @@
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteRule ^$ app/webroot/ [L]
+ RewriteRule (.*) app/webroot/$1 [L]
+</IfModule>
View
5 README
@@ -0,0 +1,5 @@
+Glitch Autosell
+
+Allows to have items sold automatically for a predefined price and amount.
+
+See SETUP for setup instructions.
View
33 SETUP
@@ -0,0 +1,33 @@
+SETUP
+
+1. Create local MySQL user and database
+
+Collation: utf8_general_ci
+DB: glitch
+User: glitch
+Pass: bytQeGTfcwX7
+
+Make sure to run the following SQL statement after creation
+
+% ALTER DATABASE `glitch` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+2. Create symbolic links in app/config/
+
+# ln -s core.dev.php core.php
+
+3. Create the session table
+
+You can either run the following command in the root folder
+
+# cake/console/cake schema create Sessions
+
+Or this bit of SQL:
+
+DROP TABLE IF EXISTS cake_sessions;
+CREATE TABLE cake_sessions (
+ id varchar(255) NOT NULL,
+ `data` text,
+ expires int(11) default NULL,
+ PRIMARY KEY (id)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
View
@@ -0,0 +1,5 @@
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteRule ^$ webroot/ [L]
+ RewriteRule (.*) webroot/$1 [L]
+ </IfModule>
View
@@ -0,0 +1,70 @@
+;<?php die() ?>
+; SVN FILE: $Id$
+;/**
+; * ACL configuration
+; *
+; *
+; * PHP versions 4 and 5
+; *
+; * CakePHP(tm) : Rapid Development Framework http://cakephp.org
+; * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
+; *
+; * Licensed under The MIT License
+; * Redistributions of files must retain the above copyright notice.
+; *
+; * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
+; * @link http://cakephp.org CakePHP(tm) Project
+; * @package cake
+; * @subpackage cake.app.config
+; * @since CakePHP(tm) v 0.10.0.1076
+; * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+; */
+
+; acl.ini.php - Cake ACL Configuration
+; ---------------------------------------------------------------------
+; Use this file to specify user permissions.
+; aco = access control object (something in your application)
+; aro = access request object (something requesting access)
+;
+; User records are added as follows:
+;
+; [uid]
+; groups = group1, group2, group3
+; allow = aco1, aco2, aco3
+; deny = aco4, aco5, aco6
+;
+; Group records are added in a similar manner:
+;
+; [gid]
+; allow = aco1, aco2, aco3
+; deny = aco4, aco5, aco6
+;
+; The allow, deny, and groups sections are all optional.
+; NOTE: groups names *cannot* ever be the same as usernames!
+;
+; ACL permissions are checked in the following order:
+; 1. Check for user denies (and DENY if specified)
+; 2. Check for user allows (and ALLOW if specified)
+; 3. Gather user's groups
+; 4. Check group denies (and DENY if specified)
+; 5. Check group allows (and ALLOW if specified)
+; 6. If no aro, aco, or group information is found, DENY
+;
+; ---------------------------------------------------------------------
+
+;-------------------------------------
+;Users
+;-------------------------------------
+
+[username-goes-here]
+groups = group1, group2
+deny = aco1, aco2
+allow = aco3, aco4
+
+;-------------------------------------
+;Groups
+;-------------------------------------
+
+[groupname-goes-here]
+deny = aco5, aco6
+allow = aco7, aco8
View
@@ -0,0 +1,50 @@
+<?php
+/**
+ * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php
+ *
+ * This is an application wide file to load any function that is not used within a class
+ * define. You can also use this to include or require any files in your application.
+ *
+ * PHP versions 4 and 5
+ *
+ * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
+ * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
+ * @link http://cakephp.org CakePHP(tm) Project
+ * @package cake
+ * @subpackage cake.app.config
+ * @since CakePHP(tm) v 0.10.8.2117
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
+
+/**
+ * The settings below can be used to set additional paths to models, views and controllers.
+ * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470)
+ *
+ * App::build(array(
+ * 'plugins' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
+ * 'models' => array('/full/path/to/models/', '/next/full/path/to/models/'),
+ * 'views' => array('/full/path/to/views/', '/next/full/path/to/views/'),
+ * 'controllers' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
+ * 'datasources' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
+ * 'behaviors' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
+ * 'components' => array('/full/path/to/components/', '/next/full/path/to/components/'),
+ * 'helpers' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
+ * 'vendors' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
+ * 'shells' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
+ * 'locales' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
+ * ));
+ *
+ */
+
+/**
+ * As of 1.3, additional rules for the inflector are added below
+ *
+ * Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
+ * Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
+ *
+ */
Oops, something went wrong.

0 comments on commit 11ab9f3

Please sign in to comment.