Mercurial > SimpleWebPresenter
view OnlineValidator.inc @ 120:111770d32c2e
Workaround for pecl_http not working with PHP7
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 28 Dec 2017 18:40:56 +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'; } ?>
