Mercurial > SimpleWebPresenter
view OnlineValidator.inc @ 119:df158368051e
PHP7 compatibility and support for http and https
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 28 Dec 2017 18:36:45 +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'; } ?>
