Commit Graph

3 Commits

Author SHA1 Message Date
f7f3cb9704
Refactored script for better readability
The code has been refactored to improve readability and maintainability. The main changes include removing unnecessary condition checks, simplifying the flow of control, and reorganizing the code blocks for better logical grouping. This should make it easier to understand and modify in the future.
2024-06-13 15:52:08 +02:00
e4d78e054b
Updated Twig cache directory name
The cache directory name for the Twig environment has been updated. The previous hyphen-separated name 'twig-cache' has been replaced with an underscore-separated one, 'twig_cache'. This change ensures consistency in naming conventions across the project.
2024-06-13 14:32:50 +02:00
f367958d69
Introduced .htaccess file and refactored index.php
A new .htaccess file has been added to handle URL rewriting. The index.php file has been significantly refactored for improved readability and performance. A large portion of the original code was moved to a separate script.php file, which is now executed from within index.php. This change simplifies the main entry point of the application and separates concerns more effectively. Additionally, minor changes were made to cache handling in script.php.
2024-06-13 13:41:31 +02:00