Mercurial > SimpleWebPresenter
view OnlineValidator.inc @ 131:6b882fb6ea46
Do not add '/' at end if we have encoded all params.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 21 Jan 2023 16:43:41 +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'; } ?>
