aboutsummaryrefslogtreecommitdiff
path: root/www/pivotx/files
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-07-03 10:53:59 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-07-03 10:53:59 +0000
commitae73001c5ed5a480ccaecd54343a213e0cb089e6 (patch)
tree4859f0dc70ec35c9986723d6c9238d763f645f66 /www/pivotx/files
parent23f1145703c4a23ff050789b97bdaa04861251a3 (diff)
downloadports-ae73001c5ed5a480ccaecd54343a213e0cb089e6.tar.gz
ports-ae73001c5ed5a480ccaecd54343a213e0cb089e6.zip
Notes
Diffstat (limited to 'www/pivotx/files')
-rw-r--r--www/pivotx/files/patch-example.htaccess11
-rw-r--r--www/pivotx/files/patch-module_smarty.php11
-rw-r--r--www/pivotx/files/pkg-message.in2
3 files changed, 23 insertions, 1 deletions
diff --git a/www/pivotx/files/patch-example.htaccess b/www/pivotx/files/patch-example.htaccess
new file mode 100644
index 000000000000..8192c46e0809
--- /dev/null
+++ b/www/pivotx/files/patch-example.htaccess
@@ -0,0 +1,11 @@
+--- example.htaccess.orig 2012-01-23 01:55:33.000000000 +0900
++++ example.htaccess 2012-06-25 20:28:53.000000000 +0900
+@@ -13,7 +13,7 @@
+ #php_flag magic_quotes_gpc 0
+
+ RewriteEngine On
+-# RewriteBase /
++RewriteBase /%%BLOGURL%%
+
+ # Standard PivotX rules for non-crufty URLs. The rules always work, but non-crufty
+ # URL must be enabled in the PivotX configuration too before they are actually used.
diff --git a/www/pivotx/files/patch-module_smarty.php b/www/pivotx/files/patch-module_smarty.php
new file mode 100644
index 000000000000..80af8cf6c85c
--- /dev/null
+++ b/www/pivotx/files/patch-module_smarty.php
@@ -0,0 +1,11 @@
+--- pivotx/modules/module_smarty.php.orig 2012-04-13 00:04:12.000000000 +0900
++++ pivotx/modules/module_smarty.php 2012-06-14 20:57:40.000000000 +0900
+@@ -5439,7 +5439,7 @@
+ /**
+ * @see $smarty->register_resource
+ */
+-function dbGetTemplate($tpl_name, $tpl_source, &$smarty_obj) {
++function dbGetTemplate($tpl_name, &$tpl_source, &$smarty_obj) {
+
+ if (isset($smarty_obj->custom_template[ $tpl_name ])) {
+ $tpl_source = $smarty_obj->custom_template[ $tpl_name ];
diff --git a/www/pivotx/files/pkg-message.in b/www/pivotx/files/pkg-message.in
index 75e97403f8da..b9ff9dcf13b9 100644
--- a/www/pivotx/files/pkg-message.in
+++ b/www/pivotx/files/pkg-message.in
@@ -26,7 +26,7 @@ Adding the above alias allows you to access the admin page at
http://localhost/%%BLOGURL%%/pivotx/
Use usernames that are hard to guess.
-%%DOCSDIR%%/example.htaccess is a sample .htaccess for %%WWWDIR%%.
+%%EXAMPLESDIR%%/example.htaccess is a sample .htaccess for %%WWWDIR%%.
Setting date.timezone of %%PREFIX%%/etc/php.ini in POSIX style may
ease your life.