Changeset 90315 in spip-zone


Ignore:
Timestamp:
Jun 16, 2015, 4:52:20 PM (5 years ago)
Author:
jack@…
Message:

On cherche à rétablir les bons chemins et fonctions...
Ensuite je regarderai pgn4spip_conf.php pour essayer de faire fonctionner la configuration....

Location:
_plugins_/pgn4spip/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/pgn4spip/trunk/modeles/pgn.html

    r90115 r90315  
    2828<?php
    2929define('PLUGIN_Name', "pgn4spip");
    30 define('PATH_Fonctions', PLUGIN_Name . '/' . PLUGIN_Name . '_fonctions.php');
     30define('PATH_Fonctions', find_in_path(pgn4spip_fonctions));
    3131if (!function_exists('pgn4spip_prepropre')) require _DIR_PLUGINS . PATH_Fonctions;
    3232
  • _plugins_/pgn4spip/trunk/paquet.xml

    r90116 r90315  
    22        prefix="pgn4spip"
    33        categorie="divers"
    4         version="2.61.4"
     4        version="2.61.5"
    55        etat="test"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/pgn4spip/trunk/pgn4spip_fonctions.php

    r90073 r90315  
    3737
    3838define('PLUGIN_Name', "pgn4spip");
    39 // define('PATH_Conf', PLUGIN_Name . '/' . PLUGIN_Name . '_conf.php');
    40 define('find_in_path(pgn4spip/pgn4spip_conf.php)', 'pgn4spip_conf.php');
    41 if (!function_exists('ReadCurrentConfiguration')) require _DIR_LIB_PGN4WEB . PATH_Conf;
     39define('PATH_Conf', 'find_in_path(pgn4spip_conf.php)');
     40if (!function_exists('ReadCurrentConfiguration')) require _DIR_PLUGIN_PGN4SPIP . PATH_Conf;
    4241
    4342define('TAG_pgn', "[pP][gG][nN]"); // pgn or PGN
    4443define('PATH_board',_DIR_RACINE . 'lib/pgn4web/board.html');
    45 define('PATH_live', PLUGIN_Name . "/boardLive.html");
     44define('PATH_live', _DIR_PLUGIN_PGN4SPIP . 'boardLive.html');
    4645define('indFullPattern', 0);
    4746define('indPgnOption', 1);
     
    377376                    );
    378377}
    379 ?>
  • _plugins_/pgn4spip/trunk/pgn4spip_options.php

    r90063 r90315  
    1414define('_DIR_LIB_PGN4WEB', _DIR_RACINE . 'lib/pgn4web/');
    1515
    16 define('find_in_path(pgn4spip/pgn4spip_conf.php)', 'pgn4spip_conf.php');
     16define('PATH_Conf', 'pgn4spip_conf.php');
    1717if (!function_exists('ReadCurrentConfiguration')) require 'pgn4spip_conf.php';
    1818
Note: See TracChangeset for help on using the changeset viewer.