developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #814: 814-jTcpdf-missing-config-constants.diff

File 814-jTcpdf-missing-config-constants.diff, 1.7 KB (added by Julien, 12 years ago)
  • lib/jelix/utils/jTcpdf.class.php

    Impossible d'afficher : fichier considéré comme binaire.
    svn:mime-type = application/octet-stream
    
    Modification de propriétés sur lib/tcpdf/images/_blank.png
    ___________________________________________________________________
    Ajouté : svn:executable
       + *
    Ajouté : svn:mime-type
       + application/octet-stream
    
     
    1111*/
    1212
    1313define('K_TCPDF_EXTERNAL_CONFIG',true);
    14 define("K_PATH_MAIN", LIB_PATH.'tcpdf/');
    15 define("K_PATH_URL", $GLOBALS['gJConfig']->urlengine['basePath']);
    16 define("K_PATH_FONTS", LIB_PATH.'pdf-fonts/');
    17 define("K_PATH_CACHE", K_PATH_MAIN."cache/");
    18 define("K_CELL_HEIGHT_RATIO", 1.25);
    19 define("K_SMALL_RATIO", 2/3);
     14define('K_PATH_MAIN', LIB_PATH.'tcpdf/');
     15define('K_PATH_URL', $GLOBALS['gJConfig']->urlengine['basePath']);
     16define('K_PATH_FONTS', LIB_PATH.'pdf-fonts/');
     17define('K_PATH_CACHE', JELIX_APP_TEMP_PATH);
     18define('K_PATH_IMAGES', JELIX_APP_PATH);
     19define('K_BLANK_IMAGE', K_PATH_MAIN.'images/_blank.png');
     20define('K_CELL_HEIGHT_RATIO', 1.25);
     21define('K_SMALL_RATIO', 2/3);
    2022require_once (LIB_PATH.'tcpdf/tcpdf.php');
    2123
    2224/**
  • build/manifests/jelix-lib.mn

     
    493493  barcodes.php
    494494cd lib/tcpdf/config
    495495  tcpdf_config.php
     496cd lib/tcpdf/images
     497! _blank.png
    496498
    497499cd lib/wshelper
    498500! CREDITS