|
@@ -10,7 +10,7 @@ class ReceivedSms extends Controller
|
|
|
{
|
|
{
|
|
|
protected function main()
|
|
protected function main()
|
|
|
{
|
|
{
|
|
|
- file_put_contents(APP_DIR . "/test_msg.txt", file_get_contents("php://input").PHP_EOL);
|
|
|
|
|
|
|
+ file_put_contents(APP_DIR . "/test_msg.txt", file_get_contents("php://input").PHP_EOL,FILE_APPEND);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|