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)
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs