* @copyright 2014 Christian Weiske * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3 * @link http://cweiske.de/phancap.htm */ namespace phancap; header('HTTP/1.0 500 Internal Server Error'); if (file_exists(__DIR__ . '/../src/phancap/Autoloader.php')) { include_once __DIR__ . '/../src/phancap/Autoloader.php'; Autoloader::register(); } else { include_once 'phancap/Autoloader.php'; } header('HTTP/1.0 200 OK'); $options = new Options(); $config = new Config(); try { $config->load(); $options->setConfig($config); } catch (\Exception $e) { } ?>
Web service to create website screenshots.
The API is accessible at get.php.
Name | Description | Type | Default |
---|---|---|---|
' . $name . ' | ' . '' . htmlspecialchars($option['title']) . ' | ' . '' . ( is_array($option['type']) ? ('One of: ' . implode(', ', $option['type']) . '') : str_replace('skip', ' ', $option['type']) ) . ' | ' . '' . $option['default'] . ' | ' . '
Ages can be given as ISO 8601 duration specification, for example: