X-Git-Url: https://git.cweiske.de/phancap.git/blobdiff_plain/5b85ef225aef0b9052c3797861fc79cdabd1c2f4..8925bb89e4ee91f9503f574fd540c2d9fe53a6d2:/README.rst?ds=sidebyside diff --git a/README.rst b/README.rst index 3b71795..17faa8e 100644 --- a/README.rst +++ b/README.rst @@ -31,6 +31,17 @@ Screenshot parameters Screenshot format (``png``, ``jpg``, ``pdf``, default: ``png``) ``smode`` Screenshot mode (``screen`` (4:3) or ``page`` (full website height)) +``smaxage`` + Maximum age of screenshot in seconds. + ISO 8601 duration specifications accepted: + + - ``P1Y`` - 1 year + - ``P2W`` - 2 weeks + - ``P1D`` - 1 day + - ``PT4H`` - 4 hours + + The configuration file defines a minimum age that the user cannot undercut + (``$screenshotMinAge``), as well as a default value (``$screenshotMaxAge``). Authentication parameters ========================= @@ -146,7 +157,7 @@ Dependencies - `cutycapt `_ - imagemagick's ``convert`` - ``xvfb-run`` - +- PEAR's ``System.php`` =======================