Mercurial > SimpleWebPresenter
view OnlineValidator.inc @ 132:51b53cd01080
Handle redirects properly.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 22 Jan 2023 18:59:03 +0100 |
| parents | 2370f4450983 |
| children |
line wrap: on
line source
<?php include_once 'ScriptIncludeCache.inc'; /// @cond $baseDir = dirname(__FILE__); $cache = ScriptIncludeCache::instance(__FILE__); $cache->includeOnce('Validator.inc', $baseDir); /// @endcond /** * Defines a validator which uses an online validator */ abstract class OnlineValidator extends Validator { /** * The url where the validator is located */ protected $validator_url = 'http://validator.w3.org/check'; } ?>
