<?php
/***************************************************************************
- * Copyright (C) 2003-2008 Polytechnique.org *
+ * Copyright (C) 2003-2009 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
if (!pl_autoload($cls)) {
$cls = strtolower($cls);
- if (substr($cls, -3, 3) == 'req') {
+ if (substr($cls, 0, 4) == 'ufc_' || substr($cls, 0, 4) == 'ufo_') {
+ __autoload('userfilter');
+ return;
+ } else if (substr($cls, -3, 3) == 'req') {
@include 'validations.inc.php';
return;
} else if (substr($cls, 0, 6) == 'banana') {