diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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{"); |