summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class5
1 files changed, 1 insertions, 4 deletions
diff --git a/it.class b/it.class
index bf9969d..9383d8e 100644
--- a/it.class
+++ b/it.class
@@ -46,11 +46,8 @@ function createconfig($p = array())
'service' => $parts[2],
);
- if ($file = @fopen($p['service'] . "_tools.class", "r", true))
- {
+ if (class_exists($p['service'] . "_tools"))
$extends = "extends {$p['service']}_tools ";
- fclose($file);
- }
$code = array("class {$p['service']} $extends{");