Repository navigation
[1.93.4] - 2026-12-01 — Altais
Logs written during web requests land in storage/logs, not under the public web root.
Security
- A relative log path resolves from the project root. The skeleton's
.envsets
LOG_FILE_PATH=storage/logs, and the framework handed that relative path to the log handlers
as-is, so PHP resolved it from the working directory. Under PHP-FPM that ispublic/: web
requests wroteframework.logand the application logs topublic/storage/logs, where a server
whose document root ispublic/served them to anyone, while console commands wrote to the real
storage/logs. The logs carry request paths, IP addresses and user IDs. The application log
directory and the framework channel's path now resolve against the project root (new
Glueful\Logging\LogPath); absolute paths and streams such asphp://stderrare unchanged.
Upgrade Notes
- No configuration changes; an app's own
config/logging.phpis fixed by the update. - Check for logs already written under the web root. If
public/storage/logsexists, move its
files intostorage/logs(rename any that clash, such asframework.log), remove the folder, and
review your web server's access log for requests to/storage/logs. - Consider denying
/storage/in the web server configuration as a second line of defence.