feat: Update database connection and error display settings

- Changed database connection credentials in footer.php for improved security.
- Disabled error display in ajax.inc.php to prevent sensitive information exposure.
- Added comprehensive design documentation for the news flow application.
- Implemented a modernized index.php layout with responsive design and enhanced user experience.
- Developed main.js for dynamic news loading, including infinite scroll and date filtering functionalities.
- Structured interaction.md to detail core interactive features of the application.
- Organized outline.md to clarify project structure and core functionalities.
- Populated mock-data.json with realistic news data for testing and development purposes.
This commit is contained in:
杨水淼
2025-10-13 16:16:46 +08:00
parent 521e0687a4
commit 4a56455151
8 changed files with 959 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<?php
ini_set("display_errors","1");
$mysqli = new mysqli('localhost','root','nancysimon','myquant');
ini_set("display_errors","0");
$mysqli = new mysqli('localhost','myquant','_H(lU1_fF*9baRTp','myquant');
//ajax: get stock list for select
if($_REQUEST['t']=='stockList'){