Overview
SHA1:67896fe9aec7ebfbcaf741684a4fc7020a96a510
Date: 2015-01-03 19:49:04
User: bohwaz
Comment:Fix bugs changements PSR-0
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2015-01-05
03:43
[32aadc8ed0] UserException, pas User_Exception (user: bohwaz, tags: trunk)
2015-01-03
19:49
[67896fe9ae] Fix bugs changements PSR-0 (user: bohwaz, tags: trunk, stable)
00:20
[0258a53a21] mise à jour du script de création de release (user: bohwaz, tags: trunk)
Changes

Modified src/include/lib/Garradin/Membres/Champs.php from [c295c68f64] to [d72e53f167].

59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    public function toString()
    {
        return Utils::write_ini_string($this->champs);
    }

	static public function importInstall()
	{
		$champs = parse_ini_file(ROOT . '/include/data/champs_membres.ini', true);
        $champs = array_filter($champs, function ($row) { return !empty($row['install']); });
        return new \Garradin\Membres\Champs($champs);
	}

    static public function importPresets()
    {
        if (is_null(self::$presets))







|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    public function toString()
    {
        return Utils::write_ini_string($this->champs);
    }

	static public function importInstall()
	{
		$champs = parse_ini_file(\Garradin\ROOT . '/include/data/champs_membres.ini', true);
        $champs = array_filter($champs, function ($row) { return !empty($row['install']); });
        return new \Garradin\Membres\Champs($champs);
	}

    static public function importPresets()
    {
        if (is_null(self::$presets))

Modified src/www/admin/install.php from [b3948d9213] to [a2dfc42c24].

53
54
55
56
57
58
59
60
61
62





63
64
65
66
67
68
69

test_requis(
    version_compare($v['versionString'], '3.7.4', '>='),
    'SQLite3 version 3.7.4 ou supérieur requise. Version installée : ' . $v['versionString']
);

test_requis(
    file_exists(__DIR__ . '/../../include/libs/template_lite/class.template.php'),
    'Librairie Template_Lite non disponible.'
);






const INSTALL_PROCESS = true;

require_once __DIR__ . '/../../include/init.php';

// Vérifier que les répertoires vides existent, sinon les créer
$paths = [DATA_ROOT . '/cache', DATA_ROOT . '/cache/static', DATA_ROOT . '/cache/compiled'];







|


>
>
>
>
>







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

test_requis(
    version_compare($v['versionString'], '3.7.4', '>='),
    'SQLite3 version 3.7.4 ou supérieur requise. Version installée : ' . $v['versionString']
);

test_requis(
    file_exists(__DIR__ . '/../../include/lib/Template_Lite/class.template.php'),
    'Librairie Template_Lite non disponible.'
);

test_requis(
    file_exists(__DIR__ . '/../../include/lib/KD2'),
    'Librairie KD2 non disponible.'
);

const INSTALL_PROCESS = true;

require_once __DIR__ . '/../../include/init.php';

// Vérifier que les répertoires vides existent, sinon les créer
$paths = [DATA_ROOT . '/cache', DATA_ROOT . '/cache/static', DATA_ROOT . '/cache/compiled'];