Project

General

Profile

Revision ad6689da

IDad6689dab313422a6e82633e880db45853e85c67
Parent 077e4de7
Child 1be75264

Added by Francois POIROTTE about 7 years ago

Davantage de correction liƩes aux conventions

Change-Id: I7680cf42d0b10ac300d44085d695e15064d33094
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2369
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

src/autoloader.php
2 2

  
3 3
function vigilo_autoloader($class_name)
4 4
{
5
    if (strncmp($class_name, 'Vigilo', 6)==0) {
5
    if (!strncmp($class_name, 'Vigilo', 6)) {
6 6
        require_once(__DIR__ . DIRECTORY_SEPARATOR . 'Vigilo' . DIRECTORY_SEPARATOR . $class_name . '.php');
7 7
    }
8 8
}

Also available in: Unified diff