From 6dfd5d507d9863f987b30b0a5ab4268aea2ed875 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 2 Aug 2012 11:09:40 +0000 Subject: J'étais parti sur un download pourri de Cake. Les gars on abusé sur GitHub. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2012-php-weave/trunk@7 d972a294-176a-4cf9-8ea1-fcd5b0c30f5c --- .../vendor/cake_1.1.20.7692/app/config/acl.ini.php | 76 ----------- .../cake_1.1.20.7692/app/config/bootstrap.php | 46 ------- .../vendor/cake_1.1.20.7692/app/config/core.php | 146 --------------------- .../app/config/database.php.default | 74 ----------- .../cake_1.1.20.7692/app/config/inflections.php | 72 ---------- .../vendor/cake_1.1.20.7692/app/config/routes.php | 46 ------- .../cake_1.1.20.7692/app/config/sql/db_acl.sql | 38 ------ .../cake_1.1.20.7692/app/config/sql/sessions.sql | 16 --- 8 files changed, 514 deletions(-) delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/acl.ini.php delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/bootstrap.php delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/core.php delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/database.php.default delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/inflections.php delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/routes.php delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/db_acl.sql delete mode 100644 poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/sessions.sql (limited to 'poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config') diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/acl.ini.php b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/acl.ini.php deleted file mode 100644 index 486e790..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/acl.ini.php +++ /dev/null @@ -1,76 +0,0 @@ -; -; SVN FILE: $Id: acl.ini.php 6305 2008-01-02 02:33:56Z phpnut $ -;/** -; * Short description for file. -; * -; * -; * PHP versions 4 and 5 -; * -; * CakePHP(tm) : Rapid Development Framework -; * Copyright 2005-2008, Cake Software Foundation, Inc. -; * 1785 E. Sahara Avenue, Suite 490-204 -; * Las Vegas, Nevada 89104 -; * -; * Licensed under The MIT License -; * Redistributions of files must retain the above copyright notice. -; * -; * @filesource -; * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. -; * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project -; * @package cake -; * @subpackage cake.app.config -; * @since CakePHP(tm) v 0.10.0.1076 -; * @version $Revision: 6305 $ -; * @modifiedby $LastChangedBy: phpnut $ -; * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ -; * @license http://www.opensource.org/licenses/mit-license.php The MIT License -; */ - -; 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 \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/bootstrap.php b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/bootstrap.php deleted file mode 100644 index ef4cedf..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/bootstrap.php +++ /dev/null @@ -1,46 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.10.8.2117 - * @version $Revision: 6305 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * - * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php is loaded - * 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. - * - */ -/** - * 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) - * - * $modelPaths = array('full path to models', 'second full path to models', 'etc...'); - * $viewPaths = array('this path to views', 'second full path to views', 'etc...'); - * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...'); - * - */ -//EOF -?> \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/core.php b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/core.php deleted file mode 100644 index 77cf1ff..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/core.php +++ /dev/null @@ -1,146 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 6305 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * If you do not have mod rewrite on your system - * or if you prefer to use CakePHP pretty urls. - * uncomment the line below. - * Note: If you do have mod rewrite but prefer the - * CakePHP pretty urls, you also have to remove the - * .htaccess files - * release/.htaccess - * release/app/.htaccess - * release/app/webroot/.htaccess - */ -// define ('BASE_URL', env('SCRIPT_NAME')); -/** - * Set debug level here: - * - 0: production - * - 1: development - * - 2: full debug with sql - * - 3: full debug with sql and dump of the current object - * - * In production, the "flash messages" redirect after a time interval. - * With the other debug levels you get to click the "flash message" to continue. - * - */ - define('DEBUG', 1); -/** - * Turn of caching checking wide. - * You must still use the controller var cacheAction inside you controller class. - * You can either set it controller wide, or in each controller method. - * use var $cacheAction = true; or in the controller method $this->cacheAction = true; - */ - define('CACHE_CHECK', false); -/** - * Error constant. Used for differentiating error logging and debugging. - * Currently PHP supports LOG_DEBUG - */ - define('LOG_ERROR', 2); -/** - * CakePHP includes 3 types of session saves - * database or file. Set this to your preferred method. - * If you want to use your own save handler place it in - * app/config/name.php DO NOT USE file or database as the name. - * and use just the name portion below. - * - * Setting this to cake will save files to /cakedistro/tmp directory - * Setting it to php will use the php default save path - * Setting it to database will use the database - * - */ - define('CAKE_SESSION_SAVE', 'php'); -/** - * If using you own table name for storing sessions - * set the table name here. - * DO NOT INCLUDE PREFIX IF YOU HAVE SET ONE IN database.php - * - */ - define('CAKE_SESSION_TABLE', 'cake_sessions'); -/** - * Set a random string of used in session. - * - */ - define('CAKE_SESSION_STRING', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'); -/** - * Set the name of session cookie - * - */ - define('CAKE_SESSION_COOKIE', 'CAKEPHP'); -/** - * Set level of Cake security. - * - */ - define('CAKE_SECURITY', 'high'); -/** - * Set Cake Session time out. - * If CAKE_SECURITY define is set - * high: multiplied by 10 - * medium: is multiplied by 100 - * low is: multiplied by 300 - * - * Number below is seconds. - */ - define('CAKE_SESSION_TIMEOUT', '120'); -/** - * Uncomment the define below to use cake built in admin routes. - * You can set this value to anything you want. - * All methods related to the admin route should be prefixed with the - * name you set CAKE_ADMIN to. - * For example: admin_index, admin_edit - */ -// define('CAKE_ADMIN', 'admin'); -/** - * The define below is used to turn cake built webservices - * on or off. Default setting is off. - */ - define('WEBSERVICES', 'off'); -/** - * Compress output CSS (removing comments, whitespace, repeating tags etc.) - * This requires a/var/cache directory to be writable by the web server (caching). - * To use, prefix the CSS link URL with '/ccss/' instead of '/css/' or use Controller::cssTag(). - */ - define('COMPRESS_CSS', false); -/** - * If set to true, helpers would output data instead of returning it. - */ - define('AUTO_OUTPUT', false); -/** - * If set to false, session would not automatically be started. - */ - define('AUTO_SESSION', true); -/** - * Set the max size of file to use md5() . - */ - define('MAX_MD5SIZE', (5 * 1024) * 1024); -/** - * To use Access Control Lists with Cake... - */ - define('ACL_CLASSNAME', 'DB_ACL'); - define('ACL_FILENAME', 'dbacl' . DS . 'db_acl'); -?> \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/database.php.default b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/database.php.default deleted file mode 100644 index 4df48e1..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/database.php.default +++ /dev/null @@ -1,74 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 6305 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * In this file you set up your database connection details. - * - * @package cake - * @subpackage cake.config - */ -/** - * Database configuration class. - * You can specify multiple configurations for production, development and testing. - * - * driver => - * mysql, postgres, sqlite, adodb, pear-drivername - * - * connect => - * MySQL set the connect to either mysql_pconnect of mysql_connect - * PostgreSQL set the connect to either pg_pconnect of pg_connect - * SQLite set the connect to sqlite_popen sqlite_open - * ADOdb set the connect to one of these - * (http://phplens.com/adodb/supported.databases.html) and - * append it '|p' for persistent connection. (mssql|p for example, or just mssql for not persistent) - * - * host => - * the host you connect to the database - * MySQL 'localhost' to add a port number use 'localhost:port#' - * PostgreSQL 'localhost' to add a port number use 'localhost port=5432' - * - */ -class DATABASE_CONFIG -{ - var $default = array('driver' => 'mysql', - 'connect' => 'mysql_connect', - 'host' => 'localhost', - 'login' => 'user', - 'password' => 'password', - 'database' => 'project_name', - 'prefix' => ''); - - var $test = array('driver' => 'mysql', - 'connect' => 'mysql_connect', - 'host' => 'localhost', - 'login' => 'user', - 'password' => 'password', - 'database' => 'project_name-test', - 'prefix' => ''); -} -?> \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/inflections.php b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/inflections.php deleted file mode 100644 index e08a7d8..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/inflections.php +++ /dev/null @@ -1,72 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 1.0.0.2312 - * @version $Revision: 6305 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * This is a key => value array of regex used to match words. - * If key matches then the value is returned. - * - * $pluralRules = array('/(s)tatus$/i' => '\1\2tatuses', '/^(ox)$/i' => '\1\2en', '/([m|l])ouse$/i' => '\1ice'); - */ - $pluralRules = array(); -/** - * This is a key only array of plural words that should not be inflected. - * Notice the last comma - * - * $uninflectedPlural = array('.*[nrlm]ese', '.*deer', '.*fish', '.*measles', '.*ois', '.*pox'); - */ - $uninflectedPlural = array(); -/** - * This is a key => value array of plural irregular words. - * If key matches then the value is returned. - * - * $irregularPlural = array('atlas' => 'atlases', 'beef' => 'beefs', 'brother' => 'brothers') - */ - $irregularPlural = array(); -/** - * This is a key => value array of regex used to match words. - * If key matches then the value is returned. - * - * $singularRules = array('/(s)tatuses$/i' => '\1\2tatus', '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i') - */ - $singularRules = array(); -/** - * This is a key only array of singular words that should not be inflected. - * You should not have to change this value below if you do change it use same format - * as the $uninflectedPlural above. - */ - $uninflectedSingular = $uninflectedPlural; -/** - * This is a key => value array of singular irregular words. - * Most of the time this will be a reverse of the above $irregularPlural array - * You should not have to change this value below if you do change it use same format - * - * $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother') - */ - $irregularSingular = array_flip($irregularPlural); -?> \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/routes.php b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/routes.php deleted file mode 100644 index 45ae36a..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/routes.php +++ /dev/null @@ -1,46 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 6305 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 21:33:56 -0500 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * Here, we are connecting '/' (base path) to controller called 'Pages', - * its action called 'display', and we pass a param to select the view file - * to use (in this case, /app/views/pages/home.thtml)... - */ - $Route->connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); -/** - * ...and connect the rest of 'Pages' controller's urls. - */ - $Route->connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); -/** - * Then we connect url '/test' to our test controller. This is helpfull in - * developement. - */ - $Route->connect('/tests', array('controller' => 'tests', 'action' => 'index')); -?> \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/db_acl.sql b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/db_acl.sql deleted file mode 100644 index be8f200..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/db_acl.sql +++ /dev/null @@ -1,38 +0,0 @@ -# $Id: db_acl.sql 6305 2008-01-02 02:33:56Z phpnut $ -# -# Copyright 2005-2008, Cake Software Foundation, Inc. -# 1785 E. Sahara Avenue, Suite 490-204 -# Las Vegas, Nevada 89104 -# -# Licensed under The MIT License -# Redistributions of files must retain the above copyright notice. -# http://www.opensource.org/licenses/mit-license.php The MIT License - -CREATE TABLE acos ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - object_id INTEGER(10) NULL DEFAULT NULL, - alias VARCHAR(255) NOT NULL DEFAULT '', - lft INTEGER(10) NULL DEFAULT NULL, - rght INTEGER(10) NULL DEFAULT NULL, - PRIMARY KEY(id) -); - -CREATE TABLE aros_acos ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - aro_id INTEGER(10) UNSIGNED NOT NULL, - aco_id INTEGER(10) UNSIGNED NOT NULL, - _create CHAR(2) NOT NULL DEFAULT 0, - _read CHAR(2) NOT NULL DEFAULT 0, - _update CHAR(2) NOT NULL DEFAULT 0, - _delete CHAR(2) NOT NULL DEFAULT 0, - PRIMARY KEY(id) -); - -CREATE TABLE aros ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - foreign_key INTEGER(10) UNSIGNED NULL DEFAULT NULL, - alias VARCHAR(255) NOT NULL DEFAULT '', - lft INTEGER(10) NULL DEFAULT NULL, - rght INTEGER(10) NULL DEFAULT NULL, - PRIMARY KEY(id) -); \ No newline at end of file diff --git a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/sessions.sql b/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/sessions.sql deleted file mode 100644 index 14c0036..0000000 --- a/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/app/config/sql/sessions.sql +++ /dev/null @@ -1,16 +0,0 @@ -# $Id: sessions.sql 6305 2008-01-02 02:33:56Z phpnut $ -# -# Copyright 2005-2008, Cake Software Foundation, Inc. -# 1785 E. Sahara Avenue, Suite 490-204 -# Las Vegas, Nevada 89104 -# -# Licensed under The MIT License -# Redistributions of files must retain the above copyright notice. -# http://www.opensource.org/licenses/mit-license.php The MIT License - -CREATE TABLE cake_sessions ( - id varchar(255) NOT NULL default '', - data text, - expires int(11) default NULL, - PRIMARY KEY (id) -); \ No newline at end of file -- cgit v1.2.3