[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] fudforum/setup/base/include core.inc, 1.1.1.1.2.1
From: |
ceb |
Subject: |
[Phpgroupware-cvs] fudforum/setup/base/include core.inc, 1.1.1.1.2.1 |
Date: |
Tue, 14 Jun 2005 18:29:00 +0200 |
Update of fudforum/setup/base/include
Modified Files:
Branch: Version-0_9_16-branch
core.inc lines: +13 -5
Log Message:
fix for delete user
====================================================
Index: fudforum/setup/base/include/core.inc
diff -u fudforum/setup/base/include/core.inc:1.1
fudforum/setup/base/include/core.inc:1.1.1.1.2.1
--- fudforum/setup/base/include/core.inc:1.1 Sat Nov 1 22:58:45 2003
+++ fudforum/setup/base/include/core.inc Tue Jun 14 16:29:37 2005
@@ -54,13 +54,21 @@
define('__request_timestamp__', $GLOBALS['PAGE_TIME']['sec']);
mt_srand($GLOBALS['PAGE_TIME']['usec']);
-function fud_use($file, $static=false)
+function fud_use($file,$static=False)
{
- if ($static) {
- include_once $GLOBALS['INCLUDE'] . $file;
+ if ($static)
+ {
+ if(is_file($GLOBALS['INCLUDE'] . $file))
+ {
+ include_once $GLOBALS['INCLUDE'] . $file;
+ }
return;
}
- include_once $GLOBALS['INCLUDE'] . (defined('fud_theme') ? fud_theme :
'theme/default/') . $file;
+
+ if(is_file($GLOBALS['INCLUDE'] . (defined('fud_theme') ? fud_theme :
'theme/default/') . $file))
+ {
+ include_once $GLOBALS['INCLUDE'] . (defined('fud_theme') ?
fud_theme : 'theme/default/') . $file;
+ }
}
function get_random_value($bitlength=32)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] fudforum/setup/base/include core.inc, 1.1.1.1.2.1,
ceb <=