Added proper OKAPI settings to lib/settings-dist and lib/settings-dev files.
This commit is contained in:
parent
56b80e025a
commit
dfbbf2be1f
39
.gitignore
vendored
39
.gitignore
vendored
@ -1,20 +1,21 @@
|
||||
# common exclude files list
|
||||
#
|
||||
# for local exclude files, see .git/info/exclude
|
||||
|
||||
htdocs/*/settings.inc.php
|
||||
htdocs/*/*/settings.inc.php
|
||||
htdocs/cache/*
|
||||
htdocs/cache2/*
|
||||
htdocs/download/*
|
||||
htdocs/images/statpics/*
|
||||
htdocs/images/uploads/*
|
||||
htdocs/resource2/tinymce/tiny_mce_*.gz
|
||||
htdocs/sitemap*xml*
|
||||
htdocs/util-local/ocxml11client/data-files
|
||||
htdocs/util-local/ocxml11client/tmp
|
||||
|
||||
lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/CSS/*
|
||||
lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/HTML/*
|
||||
lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/URI/*
|
||||
# Commonly ignored files list. For locally ignored files (e.g. local IDE
|
||||
# settings), use .git/info/exclude file. Keep the lines in this file sorted.
|
||||
|
||||
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/CSS/*
|
||||
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/HTML/*
|
||||
/lib/htmlpurifier-4.2.0/library/HTMLPurifier/DefinitionCache/Serializer/URI/*
|
||||
/htdocs/cache/*
|
||||
/htdocs/cache2/*
|
||||
/htdocs/config2/settings.inc.php
|
||||
/htdocs/download/*
|
||||
/htdocs/images/statpics/*
|
||||
/htdocs/images/uploads/*
|
||||
/htdocs/lib/settings.inc.php
|
||||
/htdocs/resource2/tinymce/tiny_mce_*.gz
|
||||
/htdocs/util-local/ocxml11client/data-files
|
||||
/htdocs/util-local/ocxml11client/tmp
|
||||
/htdocs/util/mysql_root/settings.inc.php
|
||||
/htdocs/util/notification/settings.inc.php
|
||||
/htdocs/util/publish_caches/settings.inc.php
|
||||
/htdocs/util/watchlist/settings.inc.php
|
||||
/htdocs/var/*
|
||||
|
@ -232,4 +232,10 @@
|
||||
// you can use -1 to use the master (not recommended, because replicated to slaves)
|
||||
$opt['db']['slave']['primary'] = -1;
|
||||
|
||||
$OKAPI_SETTINGS = array(
|
||||
'OC_BRANCH' => 'oc.de',
|
||||
'SITELANG' => 'de',
|
||||
'VAR_DIR' => $opt['rootpath'].'var',
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -297,4 +297,11 @@ function post_config()
|
||||
'filename' => 'http://geokrety.org/index.php?lang=de_DE.UTF-8'
|
||||
);
|
||||
}
|
||||
|
||||
$OKAPI_SETTINGS = array(
|
||||
'OC_BRANCH' => 'oc.de',
|
||||
'SITELANG' => 'de',
|
||||
'VAR_DIR' => $opt['rootpath'].'var',
|
||||
);
|
||||
|
||||
?>
|
||||
|
4
htdocs/var/.htaccess
Normal file
4
htdocs/var/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
<FilesMatch ".*">
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
</FilesMatch>
|
0
htdocs/var/index.html
Normal file
0
htdocs/var/index.html
Normal file
Loading…
x
Reference in New Issue
Block a user