diff options
Diffstat (limited to 'plugins/webinterface/php_handler.cpp')
-rw-r--r-- | plugins/webinterface/php_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webinterface/php_handler.cpp b/plugins/webinterface/php_handler.cpp index 852f1fd..87c8acd 100644 --- a/plugins/webinterface/php_handler.cpp +++ b/plugins/webinterface/php_handler.cpp @@ -48,7 +48,7 @@ namespace kt bool PhpHandler::executeScript(const TQString & path,const TQMap<TQString,TQString> & args) { TQByteArray php_s; - if (!scripts.tqcontains(path)) + if (!scripts.contains(path)) { TQFile fptr(path); if (!fptr.open(IO_ReadOnly)) @@ -66,7 +66,7 @@ namespace kt output.resize(0); - int firstphptag = TQCString(php_s).tqfind("<?php"); + int firstphptag = TQCString(php_s).find("<?php"); if (firstphptag == -1) return false; |