LoginSignup
4
2

More than 5 years have passed since last update.

Phalcon3.1.2 改行コードが消える現象 textareaで

Posted at

改行コードはどこへ?

phalconの3.1.2使ってます。
いつのころからか、public/index.phpこのファイル内に不気味な記述を発見。

public/index.php
    echo str_replace(["\n","\r","\t"], '', $application->handle()->getContent());

改行をすべて取り除け!という記述があるではないか!!!!

ってことで、ここは、

public/index.php
    echo $application->handle()->getContent());

こうすることで解決。簡単でしたね。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2