comparison OnlineValidator.inc.php @ 134:b6b4a58c7625

Using .inc.php rather than just .inc for include files.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Sun, 22 Jan 2023 19:22:00 +0100
parents OnlineValidator.inc@2370f4450983
children
comparison
equal deleted inserted replaced
133:00255ca89459 134:b6b4a58c7625
1 <?php
2 include_once 'ScriptIncludeCache.inc.php';
3
4 /// @cond
5 $baseDir = dirname(__FILE__);
6 $cache = ScriptIncludeCache::instance(__FILE__);
7 $cache->includeOnce('Validator.inc.php', $baseDir);
8 /// @endcond
9
10
11 /**
12 * Defines a validator which uses an online validator
13 */
14 abstract class OnlineValidator extends Validator
15 {
16 /**
17 * The url where the validator is located
18 */
19 protected $validator_url = 'http://validator.w3.org/check';
20 }
21 ?>