Closed zymeli closed 9 months ago
Updated Linking Mechanism
The first change takes place in the index.php
file under src/views/default
. Instead of using a statically defined link, we are now using the Url::to(['index'])
command. This allows for more flexibility and ensures that the link always directs to the right place, even if the targeted page's location changes in the future.
Enhanced Error Reporting
In the detail.php
file under src/views/default/panels/log
, a new condition is added to improve information output when an issue arises. If specific details about the problem ('trace' information) are available, these will be neatly formatted and displayed. If such specifics are not available, the system will then provide a general analysis of the issue. This makes diagnosing and resolving issues easier, and provides those reviewing the issues with a better understanding of what's going wrong.
Would you please add a line for CHANGELOG?
Thank you!
It should be noted that if an internal php function such as call_user_func in the backtrace, the 'file' and 'line' entries will not be set. @see https://www.php.net/manual/en/function.debug-backtrace.php#59713