Changing to sqlite and resetting,

This commit is contained in:
calcu1on
2025-08-29 22:07:59 -04:00
parent 2309e31256
commit 63bbb46715
16 changed files with 1617 additions and 1118 deletions

View File

@@ -44,7 +44,7 @@ if (str_contains($path, '.php')) {
// fallback to index.php.
do {
$path = dirname($path);
if (preg_match('/\.php$/', $path) && is_file(__DIR__ . $path)) {
if (str_ends_with($path, '.php') && is_file(__DIR__ . $path)) {
// Discovered that the path contains an existing PHP file. Use that as the
// script to include.
$script = ltrim($path, '/');