| [ Index ] |
PHP Cross Reference of Nuke-Evolution v2.0.5 |
[Summary view] [Print] [Text view]
1 <?php 2 3 /*======================================================================= 4 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System 5 =======================================================================*/ 6 7 /************************************************************************/ 8 /* PHP-NUKE: Advanced Content Management System */ 9 /* ============================================ */ 10 /* */ 11 /* Copyright (c) 2002 by Francisco Burzi */ 12 /* http://phpnuke.org */ 13 /* */ 14 /* This program is free software. You can redistribute it and/or modify */ 15 /* it under the terms of the GNU General Public License as published by */ 16 /* the Free Software Foundation; either version 2 of the License. */ 17 /************************************************************************/ 18 19 if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) { 20 exit('Access Denied'); 21 } 22 23 /*----[ Welcome! ] --------------------------------------- 24 | Welcome to Nuke-Evolution, an advanced content | 25 | management system based on PHP-Nuke | 26 ---------------------------------------------------------*/ 27 28 /*----[ $dbhost ] ---------------------------------------- 29 | Your database host, normally 'localhost' | 30 | | 31 | Default: localhost | 32 ---------------------------------------------------------*/ 33 $dbhost = '%dbhost%'; 34 /*----[ $dbname ] ---------------------------------------- 35 | The name of your database that will hold Evo's tables | 36 | | 37 | Default: xxx_evo | 38 ---------------------------------------------------------*/ 39 $dbname = '%dbname%'; 40 41 /*----[ $dbuname ] --------------------------------------- 42 | The username linked to your database, must have correct | 43 | permissions | 44 | | 45 | Default: xxx_evo | 46 ---------------------------------------------------------*/ 47 $dbuname = '%dbuname%'; 48 49 /*----[ $dbpass ] ---------------------------------------- 50 | The password associated with your db usersname | 51 | | 52 | Default: null | 53 ---------------------------------------------------------*/ 54 $dbpass = '%dbpass%'; 55 56 /*----[ $dbtype ] ---------------------------------------- 57 | The type of SQL server you prefer to use | 58 | | 59 | Choose from the following (case-sensitive): | 60 | - mysql (4.x or later) | 61 | - mysqli (PHP must be compiled with "System Mysql") | 62 | | 63 | Default: mysql | 64 ---------------------------------------------------------*/ 65 $dbtype = '%dbtype%'; 66 67 /*----[ $prefix ] ---------------------------------------- 68 | The prefix for your Nuke-Evolution tables | 69 | | 70 | Default: nuke | 71 ---------------------------------------------------------*/ 72 $prefix = '%prefix%'; 73 74 /*----[ $user_prefix ] ----------------------------------- 75 | The prefix for your Nuke-Evolution user-related tables | 76 | Do not change this unless it is really needed | 77 | | 78 | Default: nuke | 79 ---------------------------------------------------------*/ 80 $user_prefix = '%user_prefix%'; 81 82 /*----[ $admin_file ] ------------------------------------ 83 | The filename of your Admin File | 84 | | 85 | If you change this to something other than it's default | 86 | value, you must also rename the file called 'admin.php' | 87 | to the new value you assigned to this variable | 88 | | 89 | Default: admin | 90 ---------------------------------------------------------*/ 91 $admin_file = 'admin'; 92 93 /*----[ $directory_mode ] ------------------------------------------ 94 | permissions - by default, Evo will create new folders with the | 95 | permissions set with the following settings. NOTE: do NOT use | 96 | quotes around this value or it will not work. | 97 | Examples: | 98 | Server API = Apache = 0777 | 99 | Server API = CGI = 0755 | 100 -------------------------------------------------------------------*/ 101 $directory_mode = 0777; 102 103 /*----[ $file_mode ] -------------------------------------------------- 104 | file permissions mode - by default, Evo will create all new files | 105 | with the permissions that are provided here. NOTE: do NOT use any | 106 | quotes (single or double) around this value or it will not work. | 107 | Examples: | 108 | Server API = Apache = 0666 | 109 | Server API = CGI = 0644 | 110 ----------------------------------------------------------------------*/ 111 $file_mode = 0666; 112 113 /*----[ $debug ] ----------------------------------------- 114 | Debugging Status of your website | 115 | | 116 | If you want errors being shown, set this to true. | 117 | It will also display evo notices at the footer, | 118 | but that's visible for admins only. | 119 | If you dont want any errors being shown, | 120 | set this to false. | 121 | | 122 | Default: true | 123 ---------------------------------------------------------*/ 124 $debug = true; 125 126 /*----[ $use_cache ] -----=------------------------------- 127 | Use caching of database fetched data | 128 | | 129 | You can choose between these options: | 130 | 0: Cache Off | 131 | 1: File Cache | 132 | - Faster load, more server usage | 133 | We recommend you use SQL cache if you have | 134 | problems with the File Cache | 135 | 2: SQL Cache | 136 | - One more query per page, less server usage | 137 | | 138 | Default: 1 (File Cache) | 139 ---------------------------------------------------------*/ 140 $use_cache = 1; 141 142 /*----[ $persistency ] ----------------------------------- 143 | Allow persistent database connections | 144 | true = On | 145 | false = Off | 146 ---------------------------------------------------------*/ 147 $persistency = false; 148 149 /*********************************************************************/ 150 /* You have finished configuration of your site. Now you can change */ 151 /* all you want in the Administration Section. To enter just launch */ 152 /* your web browser pointing to http://yourdomain.com/admin.php */ 153 /* (or whatever you have setup in $admin_file) */ 154 /* */ 155 /* Remember to go to the Settings section where you can configure */ 156 /* your new site. */ 157 /* */ 158 /* Congratulations! Now you have the webs best portal installed! */ 159 /* Thanks for choosing Nuke- Evolution: The Future of the Web! */ 160 /*********************************************************************/ 161 162 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jun 6 11:38:01 2007 | Cross-referenced by PHPXref 0.7 |