- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
439 B
PHP
26 lines
439 B
PHP
<?php
|
|
|
|
namespace GuzzleHttp\Psr7;
|
|
|
|
use Psr\Http\Message\StreamInterface;
|
|
|
|
/**
|
|
* Stream decorator that prevents a stream from being seeked.
|
|
*
|
|
* @final
|
|
*/
|
|
class NoSeekStream implements StreamInterface
|
|
{
|
|
use StreamDecoratorTrait;
|
|
|
|
public function seek($offset, $whence = SEEK_SET)
|
|
{
|
|
throw new \RuntimeException('Cannot seek a NoSeekStream');
|
|
}
|
|
|
|
public function isSeekable()
|
|
{
|
|
return false;
|
|
}
|
|
}
|