Je ne sais pas exactement où tu en es mais
Ce que j'ai compris a son fonctionnent
1. prise de toutes les variables
2. changement des données
3. réecriture du fichier
Code PHP:
class JConfig {
Est la 2ème ligne du fichier configuration.php donc dans moovlaJ15.php après
Code PHP:
include( 'configuration.php' );
il faut rajouter
Code PHP:
$config = "class JConfig {\n";
et avant
Code PHP:
$config .= "?>";
Code PHP:
$config .= "}\n";
Pour la création du nouveau fichier configuration.php
la recherche du chemin absolue est inclue dans moovla
Code PHP:
// getting path
$abspath = "";
$path = getcwd();
$path = str_replace('\\','/',$path);
$abspath = str_replace('/moovlaJ15.php',"",$path);
Donc
$log_path = '{$abspath}/logs'
$tmp_path = '{$abspath}/tmp';