# Deletes the lines created by the comment strings # # $this->comment .= "/* |--------------------------------------------------|".PHP_EOL; # $this->comment .= " | Obfuscated by YAK Pro - Php Obfuscator %-6.6s |".PHP_EOL; # $this->comment .= " | on %s |".PHP_EOL; # $this->comment .= " | GitHub: https://github.com/pk-fr/yakpro-po |".PHP_EOL; # $this->comment .= " |--------------------------------------------------| */".PHP_EOL; # # in # # yakpro-po.d/include/classes/config.php # # NOTE: If this script ceases to work, then it is because you upgraded # yakpro-po and forgot to change its config.php to delimit its comments with # # /* |--------------------------------------------------| # # and # # |--------------------------------------------------| */ # # instead of the original # # /* __________________________________________________ # # and # # */ # # It is much safer to search and delete everything between the former, # than the latter, because matching in sed is greedy and there may be # more than one '*/', in which case sed will probably match the last one... # (Maybe this is not true, but I don't want to risk it). /^\/\* |--------------------------------------------------|/,/^ |--------------------------------------------------| \*\//d