diff --git a/Parsedown.php b/Parsedown.php index 10f1603..6c34f6d 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -13,20 +13,6 @@ # # -if (Parsedown::is_cli()) { - $file_mode = is_readable($argv[1]); - - if ($file_mode) { - $str = file_get_contents($argv[1]); - } else { - $str = file_get_contents("php://stdin"); - } - - print Parsedown::instance()->parse($str); - - exit(); -} - class Parsedown { # Multiton