Branch: refs/heads/QA_5_2 Home: https://github.com/phpmyadmin/phpmyadmin Commit: 680e59eb5f390279d09cc071a1b951942be5d593 https://github.com/phpmyadmin/phpmyadmin/commit/680e59eb5f390279d09cc071a1b9... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-05-13 (Fri, 05 May 2022) -03:00
Changed paths: A test/test_data/routes/routes-invalid.cache.txt A test/test_data/routes/routes-valid.cache.txt M libraries/classes/Routing.php M test/classes/RoutingTest.php
Log Message: ----------- Ignore invalid routes cache file
If the `libraries/cache/routes.cache.php` file is invalid (usually from 5.1), ignores it and try to write a new one instead of failing.
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/17522.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 3c7ce21043665fff18246f04bc80245b682d251b https://github.com/phpmyadmin/phpmyadmin/commit/3c7ce21043665fff18246f04bc80... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-05-13 (Fri, 05 May 2022) -03:00
Changed paths: A test/test_data/routes/routes-invalid.cache.txt A test/test_data/routes/routes-valid.cache.txt M libraries/classes/Routing.php M test/classes/RoutingTest.php
Log Message: ----------- Merge pull request #17524 from MauricioFauth/routes-cache-file
Ignore invalid routes cache file
Fixes #17522