KiyoshiSaundo
5/24/2018 - 11:27 AM

custom 404

[custom 404] #modx

<?
// OnWebPageInit
$p = explode('?', $_SERVER["REQUEST_URI"]);
$p = $p[0];
if ($p == '/projects/' && isset($_GET['gid'])) {
	$modx->sendErrorPage();
}