Implemented contact IS_PHP540
Fixed Textile class for deprecated preg_replace /e