aboutsummaryrefslogtreecommitdiff
path: root/www/cakephp2/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-21 05:07:30 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-21 05:07:30 +0000
commite37ae0245b63fc9948408df09340ec61ffac1875 (patch)
treee40884d37211f832ad6d10bd87079833670ef54f /www/cakephp2/files
parentd8c5ae6ece6a7517f9b62baa80bca50ffc39e9b4 (diff)
downloadports-e37ae0245b63fc9948408df09340ec61ffac1875.tar.gz
ports-e37ae0245b63fc9948408df09340ec61ffac1875.zip
Notes
Diffstat (limited to 'www/cakephp2/files')
-rw-r--r--www/cakephp2/files/cakephp-development.conf.in10
-rw-r--r--www/cakephp2/files/cakephp-production.conf.in10
-rw-r--r--www/cakephp2/files/development-app-config-core.php.patch18
-rw-r--r--www/cakephp2/files/pkg-message.in12
4 files changed, 50 insertions, 0 deletions
diff --git a/www/cakephp2/files/cakephp-development.conf.in b/www/cakephp2/files/cakephp-development.conf.in
new file mode 100644
index 000000000000..f0ac4879ab11
--- /dev/null
+++ b/www/cakephp2/files/cakephp-development.conf.in
@@ -0,0 +1,10 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+Alias /cakephp %%DATADIR%%
+
+<Location /cakephp>
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp2/files/cakephp-production.conf.in b/www/cakephp2/files/cakephp-production.conf.in
new file mode 100644
index 000000000000..89b5ce7d06a0
--- /dev/null
+++ b/www/cakephp2/files/cakephp-production.conf.in
@@ -0,0 +1,10 @@
+AddType application/x-httpd-php .php
+AddType application/x-httpd-php-source .phps
+
+DocumentRoot %%DATADIR%%/app/webroot
+
+<Location />
+ DirectoryIndex index.php
+ Order deny,allow
+ Allow from all
+</Location>
diff --git a/www/cakephp2/files/development-app-config-core.php.patch b/www/cakephp2/files/development-app-config-core.php.patch
new file mode 100644
index 000000000000..c32ab7e013be
--- /dev/null
+++ b/www/cakephp2/files/development-app-config-core.php.patch
@@ -0,0 +1,18 @@
+--- app/config/core.php Mon Feb 19 13:45:27 2007
++++ app/config/core.php Mon Feb 19 13:39:40 2007
+@@ -37,7 +37,7 @@
+ * release/app/.htaccess
+ * release/app/webroot/.htaccess
+ */
+-// define ('BASE_URL', env('SCRIPT_NAME'));
++ define ('BASE_URL', env('SCRIPT_NAME'));
+ /**
+ * Set debug level here:
+ * - 0: production
+@@ -143,4 +143,4 @@
+ */
+ define('ACL_CLASSNAME', 'DB_ACL');
+ define('ACL_FILENAME', 'dbacl' . DS . 'db_acl');
+-?>
+\ No newline at end of file
++?>
diff --git a/www/cakephp2/files/pkg-message.in b/www/cakephp2/files/pkg-message.in
new file mode 100644
index 000000000000..8a4d8281a5e0
--- /dev/null
+++ b/www/cakephp2/files/pkg-message.in
@@ -0,0 +1,12 @@
+
+*********************************************************************
+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.
+
+Finally, be sure to check %%DATADIR%%/app/config/core.php for
+additional framework configuration options.
+*********************************************************************