move some store things

This commit is contained in:
friendica 2014-01-21 00:19:53 -08:00
parent 35733ca013
commit 8a5c747010
4 changed files with 9 additions and 3 deletions

View File

@ -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'.

View File

@ -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' );

View File

@ -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;
}

View File

@ -1 +1 @@
2014-01-20.563
2014-01-21.564