Revision ab94ba00
Added by Ermal Luçi over 15 years ago
etc/inc/util.inc | ||
---|---|---|
1138 | 1138 |
return false; |
1139 | 1139 |
} |
1140 | 1140 |
|
1141 |
function is_file_included($file = "") { |
|
1142 |
$files = get_included_files(); |
|
1143 |
if (in_array($file, $files)) |
|
1144 |
return true; |
|
1145 |
|
|
1146 |
return false; |
|
1147 |
} |
|
1148 |
|
|
1141 | 1149 |
?> |
Also available in: Unified diff
Ticket #309. Correctly fix the problems of intermediate config lost because of inclusion of config.inc. This might have speed impacts to be measured.