From 26e47769fc002b8c1333d020704edbc1bd3f1fbc Mon Sep 17 00:00:00 2001 From: Bronco Date: Sun, 20 Oct 2013 11:08:38 +0200 Subject: [PATCH] =?UTF-8?q?s=C3=A9paration=20des=20donn=C3=A9es=20configur?= =?UTF-8?q?ables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pour éviter de perdre sa config à chaque MAJ. La configuration se trouve dans le fichier config.php --- config.php | 11 +++++++++++ index.php | 11 +++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 config.php diff --git a/config.php b/config.php new file mode 100644 index 0000000..dab41b5 --- /dev/null +++ b/config.php @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/index.php b/index.php index 36d09b6..6b08588 100644 --- a/index.php +++ b/index.php @@ -34,16 +34,11 @@ if (isset($_GET['tag'])){$search_tags=strip_tags($_GET['tag']);}else{$search_tag // CONFIGURABLE OPTIONS // change those directories'names for more security -$GLOBAL['data_folder'] = 'mypersonaldata'; -$GLOBAL['private_data_folder'] = $GLOBAL['data_folder'].'/private'; -$GLOBAL['public_data_folder'] = $GLOBAL['data_folder'].'/public'; -$GLOBAL['default_data_folder'] = $GLOBAL['public_data_folder'];//change to private_data_folder to make private the default status +include('config.php'); + $GLOBAL['version']='2.1'; -$GLOBAL['rss_title']='Respawn: le flux de la webliothèque'; -$GLOBAL['rss_description']='Le respawn de warriordudimanche.net'; $GLOBAL['respawn_url']=returncurrenturl(); -$GLOBAL['message'] = 'Votre webliothèque perso'; -$GLOBAL['public_title'] = 'Voici la webliothèque publique de Bronco'; + $bookmarklet='Bookmarklet'; $column_width='width:47%'; if ($GLOBAL['public']){$bookmarklet='';$column_width='width:97%';}