projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added VARLIB_PATH and VARLOG_PATH defines to simplify packaging.
[fa-stable.git]
/
install
/
isession.inc
diff --git
a/install/isession.inc
b/install/isession.inc
index 8084317208d37d628abb8f42e620ca9e38a779ba..05e7dc26c67a4f21e1fee08817cb41482e9fa703 100644
(file)
--- a/
install/isession.inc
+++ b/
install/isession.inc
@@
-9,6
+9,9
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
+define('VARLIB_PATH', $path_to_root.'/tmp');
+define('VARLOG_PATH', $path_to_root.'/tmp');
+
function output_html($text)
{
global $before_box, $Ajax, $messages;
function output_html($text)
{
global $before_box, $Ajax, $messages;
@@
-58,6
+61,15
@@
function html_cleanup(&$parms)
function check_page_security($page_security)
{
}
function check_page_security($page_security)
{
}
+
+/*
+ Ensure file is re-read on next request if php caching is active
+*/
+function cache_invalidate($filename)
+{
+ if (function_exists('opcache_invalidate')) // OpCode extension
+ opcache_invalidate($filename);
+}
//============================================================================
if (!isset($path_to_root))
{
//============================================================================
if (!isset($path_to_root))
{