summaryrefslogtreecommitdiff
path: root/www/cakephp21/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/cakephp21/files')
-rw-r--r--www/cakephp21/files/cakephp-development-cgi.conf.in13
-rw-r--r--www/cakephp21/files/cakephp-development.conf.in10
-rw-r--r--www/cakephp21/files/cakephp-production-cgi.conf.in13
-rw-r--r--www/cakephp21/files/cakephp-production.conf.in10
-rw-r--r--www/cakephp21/files/extra-patch-app__Config__core.php11
-rw-r--r--www/cakephp21/files/patch-cake__console__cake13
-rw-r--r--www/cakephp21/files/pkg-message-no-apache.in7
-rw-r--r--www/cakephp21/files/pkg-message.in10
8 files changed, 87 insertions, 0 deletions
diff --git a/www/cakephp21/files/cakephp-development-cgi.conf.in b/www/cakephp21/files/cakephp-development-cgi.conf.in
new file mode 100644
index 000000000000..48c1e373a372
--- /dev/null
+++ b/www/cakephp21/files/cakephp-development-cgi.conf.in
@@ -0,0 +1,13 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+Action php-script %%PHPCGI%%
+AddHandler php-script .php
+
+Alias /cakephp %%WWWDIR%%
+
+<Location /cakephp>
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp21/files/cakephp-development.conf.in b/www/cakephp21/files/cakephp-development.conf.in
new file mode 100644
index 000000000000..86a7a676d57b
--- /dev/null
+++ b/www/cakephp21/files/cakephp-development.conf.in
@@ -0,0 +1,10 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+Alias /cakephp %%WWWDIR%%
+
+<Location /cakephp>
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp21/files/cakephp-production-cgi.conf.in b/www/cakephp21/files/cakephp-production-cgi.conf.in
new file mode 100644
index 000000000000..7215c731486a
--- /dev/null
+++ b/www/cakephp21/files/cakephp-production-cgi.conf.in
@@ -0,0 +1,13 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+Action php-script %%PHPCGI%%
+AddHandler php-script .php
+
+DocumentRoot %%WWWDIR%%/app/webroot
+
+<Location />
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp21/files/cakephp-production.conf.in b/www/cakephp21/files/cakephp-production.conf.in
new file mode 100644
index 000000000000..8679a15b8958
--- /dev/null
+++ b/www/cakephp21/files/cakephp-production.conf.in
@@ -0,0 +1,10 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+DocumentRoot %%WWWDIR%%/app/webroot
+
+<Location />
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp21/files/extra-patch-app__Config__core.php b/www/cakephp21/files/extra-patch-app__Config__core.php
new file mode 100644
index 000000000000..c490214715a0
--- /dev/null
+++ b/www/cakephp21/files/extra-patch-app__Config__core.php
@@ -0,0 +1,11 @@
+--- app/Config/core.php.orig 2012-02-20 18:12:19.000000000 +0100
++++ app/Config/core.php 2012-02-20 18:12:37.000000000 +0100
+@@ -92,7 +92,7 @@
+ *
+ * And uncomment the App.baseUrl below:
+ */
+- //Configure::write('App.baseUrl', env('SCRIPT_NAME'));
++ Configure::write('App.baseUrl', env('SCRIPT_NAME'));
+
+ /**
+ * Uncomment the define below to use CakePHP prefix routes.
diff --git a/www/cakephp21/files/patch-cake__console__cake b/www/cakephp21/files/patch-cake__console__cake
new file mode 100644
index 000000000000..72584f7c7cb7
--- /dev/null
+++ b/www/cakephp21/files/patch-cake__console__cake
@@ -0,0 +1,13 @@
+--- lib/Cake/Console/cake.orig 2012-02-20 19:44:50.000000000 +0100
++++ lib/Cake/Console/cake 2012-02-20 19:45:27.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ ################################################################################
+ #
+ # Bake is a shell script for running CakePHP bake script
+@@ -31,3 +31,4 @@
+ exec php -q "$LIB"cake.php -working "$APP" "$@"
+
+ exit;
++
diff --git a/www/cakephp21/files/pkg-message-no-apache.in b/www/cakephp21/files/pkg-message-no-apache.in
new file mode 100644
index 000000000000..50618118d205
--- /dev/null
+++ b/www/cakephp21/files/pkg-message-no-apache.in
@@ -0,0 +1,7 @@
+*********************************************************************
+You have just installed the CakePHP web application framework. Please
+consider supporting the project by visiting http://www.cakephp.org/
+and making a donation to the development effort.
+
+Be sure to check the files in %%WWWDIR%%/app/config for
+additional framework configuration options.
diff --git a/www/cakephp21/files/pkg-message.in b/www/cakephp21/files/pkg-message.in
new file mode 100644
index 000000000000..3fe1c140599c
--- /dev/null
+++ b/www/cakephp21/files/pkg-message.in
@@ -0,0 +1,10 @@
+*********************************************************************
+You have just installed the CakePHP web application framework. Please
+consider supporting the project by visiting http://www.cakephp.org/
+and making a donation to the development effort.
+
+Note that you should restart your Apache web server to ensure that
+the CakePHP configuration file is loaded.
+
+Be sure to check the files in %%WWWDIR%%/app/config for
+additional framework configuration options.