|
@@ 34-35 (lines=2) @@
|
| 31 |
|
# ils ont un id = 0-id_auteur de la session |
| 32 |
|
$id_hack = 0 - $GLOBALS['visiteur_session']['id_auteur']; |
| 33 |
|
$chercher_logo = charger_fonction('chercher_logo', 'inc'); |
| 34 |
|
if (list($logo) = $chercher_logo($id_hack, 'id_auteur', 'on')) |
| 35 |
|
rename($logo, str_replace($id_hack, $id_auteur, $logo)); |
| 36 |
|
if (list($logo) = $chercher_logo($id_hack, 'id_auteur', 'off')) |
| 37 |
|
rename($logo, str_replace($id_hack, $id_auteur, $logo)); |
| 38 |
|
} |
|
@@ 36-37 (lines=2) @@
|
| 33 |
|
$chercher_logo = charger_fonction('chercher_logo', 'inc'); |
| 34 |
|
if (list($logo) = $chercher_logo($id_hack, 'id_auteur', 'on')) |
| 35 |
|
rename($logo, str_replace($id_hack, $id_auteur, $logo)); |
| 36 |
|
if (list($logo) = $chercher_logo($id_hack, 'id_auteur', 'off')) |
| 37 |
|
rename($logo, str_replace($id_hack, $id_auteur, $logo)); |
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
|