<?php ###################################################################### # PHP-NUKE: Advanced Content Management System # ============================================ # # Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com) # http://phpnuke.org # # This module is to configure the main options for your site # # This program is free software. You can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License. ###################################################################### ###################################################################### # Database & System Config # # dbhost: SQL Database Hostname # dbuname: SQL Username # dbpass: SQL Password # dbname: SQL Database Name # $prefix: Your Database table's prefix # $user_prefix: Your Users' Database table's prefix (To share it) # $dbtype: Your Database Server type. Supported servers are: # MySQL, mysql4, postgres, mssql, oracle, msaccess, # db2 and mssql-odbc # Be sure to write it exactly as above, case SeNsItIvE! # !! NOTE 1 !! # $sitekey: Clé de votre site. CHANGEZ la parce que vous voulez. Nous # recommandons fortement de la changer # Ou laissez les doubles quotes vides. # !! NOTE 2 !! # $gfx_chk: Affichage du code de sécurité, # Votre serveur doit posséder la libraire GD: # 0: Pas de code # 1: Code seulement pour la connection administrateur # 2: Code seulement pour la connection des membres # 3: Code seulement pour la création d'un nouveau compte # 4: Les deux (2 et 3), connection membre et création d'un compte # 5: Code seulement pour la connection administrateur et membre # 6: Code seulement pour la connection administrateur et création d'un nouveau compte # 7: Affichage du code dans tous les cas (Admin et Utilisateurs) # NOTE: Si vous n'êtes pas sur laissé cette valeur à 0 # !! NOTE 3 !! # $subscription_url : Si vous utilisez le système de soucscription # vous devez paramétrer l'URL # Cette URL correspond au système de paiement que vous utilisez # ou encore une page intermédiaire si vous souhaitez la créer. ###################################################################### $dbhost = "localhost"; $dbuname = "root"; $dbpass = ""; $dbname = "********"; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";//<-- !! Voir NOTE 1 ci-dessus !! $gfx_chk = 0;//<-- !! Voir NOTE 2 ci-dessus !! $subscription_url = "http://zeus/demeure/";//<-- !! Voir NOTE 3 ci-dessus !! /*********************************************************************/ /* You finished to configure the Database. Now you can change all */ /* you want in the Administration Section. To enter just launch */ /* you web browser pointing to http://yourdomain.com/admin.php */ /* */ /* Remeber to go to Settings section where you can configure your */ /* new site. In that menu you can change all you need to change. */ /* */ /* Congratulations! now you have an automated news portal! */ /* Thanks for choose PHP-Nuke: The Future of the Web */ /*********************************************************************/ // DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING $reasons = array("As Is", "Offtopic", "Flamebait", "Troll", "Redundant", "Insighful", "Interesting", "Informative", "Funny", "Overrated", "Underrated" ); $badreasons = 4; $AllowableHTML = array("b"=>1, "i"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, "blockquote"=>1, "tt"=>1, "li"=>1, "ol"=>1, "ul"=>1); $CensorList = array("fuck", "cunt", "fucker", "fucking", "pussy", "cock", "c0ck", "cum", "twat", "clit", "bitch", "fuk", "fuking", "motherfucker" ); $tipath = "images/topics/"; if (eregi("config.php",$_SERVER['PHP_SELF'])) { Header("Location: index.php" ); die(); } ?> |