Mise à jour des fichiers d'installation et renommage du fichier de configuration avec quelques modifications de valeurs par défaut de la configuration

This commit is contained in:
Leblanc Simon 2009-09-06 14:22:15 +00:00
commit 1fcc75cf9c
3 changed files with 19 additions and 21 deletions

View file

@ -1,12 +1,11 @@
Configuration: Configuration:
* web server with PHP support * web server with PHP >= 5.2 support
Installation: Installation:
* copy all the files in the appropriated directory * copy all the files in the appropriated directory
* copy the "configuration-dist.php" as "configuration.php" * copy the "inc/config/config-dist.php" as "inc/config/config.php"
* edit the" configuration.php" file, according to your needs * edit the "inc/config/config.php" file, according to your needs
* give the write permissions for everyone to the "cache/" directory * give the write permissions for everyone (or at least to the user of apache) to the "cache/" directory
* give the same rights to the "cache/" directories, in the "template/" directory.
Using: Using:
* Each strip is represented by a SVG file and its PNG export * Each strip is represented by a SVG file and its PNG export
@ -14,7 +13,7 @@ Using:
* For correct operations (display of the title, date, comments, ...), each SVG file must have RDF metadata (using Inkscape: File > metadata). * For correct operations (display of the title, date, comments, ...), each SVG file must have RDF metadata (using Inkscape: File > metadata).
* Put these 2 files in the "strips" directory. * Put these 2 files in the "strips" directory.
Installation of patchs for punBB (for comments management): Installation of patchs for FluxBB (for comments management):
* copy "punbb-1.2.15_extern.php", "punbb-1.2.15_post.php" and "punbb-1.2.15_redirect_stripit.php" at the root directory of the punBB installation * copy "fluxbb-1.2.21_extern.php", "fluxbb-1.2.21_post.php" and "fluxbb-1.2.21_redirect_stripit.php" at the root directory of the FluxBB installation
* delete the strings "punbb-1.2.15_" in the filenames * delete the strings "fluxbb-1.2.21_" in the filenames

View file

@ -1,12 +1,11 @@
Configuration nécessaire : Configuration nécessaire :
* serveur web avec support PHP * serveur web avec support PHP >= 5.2
Installation : Installation :
* copier les fichiers dans le répertoire souhaité * copier les fichiers dans le répertoire souhaité
* copier le fichier "configuration-dist.php" comme "configuration.php" * copier le fichier "inc/config/config-dist.php" comme "inc/config/config.php"
* éditez le fichier "configuration.php", selon vos besoins * éditez le fichier "inc/config/config.php", selon vos besoins
* donnez les droits en écritures pour tous au répertoire "cache/" * donnez les droits en écriture pour tous (ou au moins pour l'utilisateur d'apache) au répertoire "cache/"
* donnez les droits en écritures pour tous aux répertoire "cache/" dans les répertoires contenu dans "template/"
Utilisation : Utilisation :
* Chaque strip est représenté par un fichier SVG et son export en PNG. * Chaque strip est représenté par un fichier SVG et son export en PNG.
@ -14,7 +13,7 @@ Utilisation :
* Pour un bon fonctionnement (affichage du titre, date, commentaires, etc.) chaque fichier SVG doit contenir des métadonnées au format RDF (dans Inkscape, Fichier > métadonnées). * Pour un bon fonctionnement (affichage du titre, date, commentaires, etc.) chaque fichier SVG doit contenir des métadonnées au format RDF (dans Inkscape, Fichier > métadonnées).
* Déposez ces deux fichiers dans le répertoire "strips/" * Déposez ces deux fichiers dans le répertoire "strips/"
Installation des patchs pour punBB (gestion des commentaires): Installation des patchs pour FluxBB (gestion des commentaires):
* copier "punbb-1.2.15_extern.php", "punbb-1.2.15_post.php" et "punbb-1.2.15_redirect_stripit.php" à la racine du répertoire où est installé punBB * copier "fluxbb-1.2.21_extern.php", "fluxbb-1.2.21_post.php" et "fluxbb-1.2.21_redirect_stripit.php" à la racine du répertoire où est installé FluxBB
* supprimer les chaînes "punbb-1.2.15_" des noms de fichier * supprimer les chaînes "fluxbb-1.2.21_" des noms de fichier

View file

@ -14,14 +14,14 @@ class Config
* @var string * @var string
* @access protected * @access protected
*/ */
protected static $version = '0.8b'; protected static $version = '0.8rc1';
/** /**
* URL of the website * URL of the website
* @var string * @var string
* @access protected * @access protected
*/ */
protected static $url = 'http://localhost/projects/stripit_php5'; protected static $url = 'http://localhost/stripit';
/** /**
* Name of the index page * Name of the index page
@ -42,7 +42,7 @@ class Config
* @var string * @var string
* @access protected * @access protected
*/ */
protected static $title = 'Stripit PHP5'; protected static $title = 'Stripit';
/** /**
* Default language of the interface * Default language of the interface
@ -169,7 +169,7 @@ class Config
* @var boolean * @var boolean
* @access protected * @access protected
*/ */
protected static $use_fluxbb = true; protected static $use_fluxbb = false;
/** /**
* FluxBB's forum ID to use for strips comment * FluxBB's forum ID to use for strips comment
@ -197,7 +197,7 @@ class Config
* @var string * @var string
* @access protected * @access protected
*/ */
protected static $fluxbb_forum = 'http://localhost/projects/fluxbb-1.2.21/upload'; protected static $fluxbb_forum = 'http://forum';
/* /*