aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rwxr-xr-xboot.php2
-rw-r--r--install/update.php7
-rw-r--r--version.inc2
4 files changed, 9 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 2f4fb1381..52eb5d6c0 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,6 +11,7 @@ Deny from all
RewriteEngine on
# Protect repository directory from browsing
RewriteRule "(^|/)\.git" - [F]
+ RewriteRule "(^|/)store" - [F]
# Rewrite current-style URLs of the form 'index.php?q=x'.
diff --git a/boot.php b/boot.php
index 2cedb8bd6..b52ef87eb 100755
--- a/boot.php
+++ b/boot.php
@@ -46,7 +46,7 @@ define ( 'RED_PLATFORM', 'Red Matrix' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 );
-define ( 'DB_UPDATE_VERSION', 1091 );
+define ( 'DB_UPDATE_VERSION', 1092 );
define ( 'EOL', '<br />' . "\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
diff --git a/install/update.php b/install/update.php
index 022d7f0dc..3e5589820 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1091 );
+define( 'UPDATE_VERSION' , 1092 );
/**
*
@@ -994,3 +994,8 @@ ADD INDEX ( `menu_flags` )");
return UPDATE_FAILED;
}
+function update_r1091() {
+ @mkdir('store/[data]/smarty',STORAGE_DEFAULT_PERMISSIONS,true);
+ @file_put_contents('store/[data]/locks','');
+ return UPDATE_SUCCESS;
+} \ No newline at end of file
diff --git a/version.inc b/version.inc
index 1d3ba2799..02e793fcd 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-01-20.563
+2014-01-21.564