moved okapi data to subdirectory

This commit is contained in:
following 2013-04-19 02:17:11 +02:00
parent e2df8fdac7
commit cd7a6f3af7
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ function get_okapi_settings()
'SITELANG' => strtolower($opt['template']['default']['locale']),
'TIMEZONE' => $opt['php']['timezone'], # BTW, OCPL doesn't have it in settings.inc.php
'SITE_URL' => $opt['page']['absolute_url'],
'VAR_DIR' => $GLOBALS['rootpath'].'var',
'VAR_DIR' => $GLOBALS['rootpath'].'var/okapi',
'IMAGES_DIR' => rtrim($opt['logic']['pictures']['dir'], '/'),
'OC_NODE_ID' => $opt['logic']['node']['id'],
'OC_COOKIE_NAME' => $opt['session']['cookiename'].'data',

View File

@ -1,4 +1,4 @@
<FilesMatch ".*">
Order Deny,Allow
Deny from All
</FilesMatch>
<FilesMatch ".*">
Order Deny,Allow
Deny from All
</FilesMatch>