Overview
Comment:bug dans le nom de fichier quand il contient des points (bug de Phar)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 957c81ad651b170aef69219e9f0c1a7123371a07
User & Date: bohwaz on 2014-04-18 15:40:31
Other Links: manifest | tags
Context
2014-04-19
02:38
Correction bug clôture exercice avec résultat en déficit check-in: 7a0b1fb57b user: bohwaz tags: trunk
2014-04-18
15:40
bug dans le nom de fichier quand il contient des points (bug de Phar) check-in: 957c81ad65 user: bohwaz tags: trunk
14:49
Version stable check-in: 28fdbfc799 user: bohwaz tags: trunk, stable
Changes

Modified tools/make_plugin.php from [7ff5f9f8d3] to [a9aa0fc1e3].

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
}

if (!empty($infos['menu']) && !file_exists($target . '/www/admin/index.php'))
{
	die("ERREUR : Le fichier www/admin/index.php est obligatoire quand menu=1\n");
}

@unlink($plugin_file . '.tar');
@unlink($plugin_file . '.tar.gz');

$p = new PharData($plugin_file . '.tar');

$p->buildFromDirectory($target);

$p->compress(Phar::GZ);

@unlink($plugin_file . '.tar');








|
|

|





|
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
}

if (!empty($infos['menu']) && !file_exists($target . '/www/admin/index.php'))
{
	die("ERREUR : Le fichier www/admin/index.php est obligatoire quand menu=1\n");
}

@unlink('/tmp/plugin.tar');
@unlink('/tmp/plugin.tar.gz');

$p = new PharData('/tmp/plugin.tar');

$p->buildFromDirectory($target);

$p->compress(Phar::GZ);

@unlink('/tmp/plugin.tar');
rename('/tmp/plugin.tar.gz', $plugin_file . '.tar.gz');