84PHP open source framework v5.1.0 update content Update content Newly added:
Error stack indication;
Session::Csrf() adds a new return value;
When the framework reports an error, the error code will be returned in the error template {$Code};
constantIntRuntime;
Use PDO as the underlying driver to connect to the Db module of the database and support transaction operations;
The Wrong module adds a new configuration item CodeReplace to replace error codes;
Framework constant FrameworkVersion, used to output the framework version number;
The error page template variable FrameworkVersion is used to output the framework version number;
Filter module used to verify data;
Tool::GetHeader() method used to obtain the value of the specified field in the Header.
Adjustment:
Wrong::Report() has adjusted its parameters to the quick parameter transfer mode;
The sum parameter in Mysql::Sum() has been adjusted to the Array type;
The Mysql module is planned to be abandoned and will be deleted in version 6.x, and no new features will be added. Please use Db module instead;
The Receive module is planned to be abandoned and will be deleted in version 6.x, and no new features will be added. Please use the Filter module instead;
The Page module uses the Db module as a dependency;
Optimize the overall code;
Delete M.15.0 error code;
Updated sample files;
The core configuration item XPoweredBy has been deleted.
repair:
The code parameter in Wrong::Report() affects the HTTP response code;
The Wrong module cannot write to the log;
The problem of invalid parameters in Vcode::Base();
When the sum parameter type in Mysql::Sum() is String, an error occurs;
Wrong::Report() displays the problem of error template page;
Potential security issues in the Mysql module.