Редакция 303 | Редакция 459 | К новейшей редакции | Только различия | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 303 | Редакция 304 | ||
---|---|---|---|
1 | <?php
|
1 | <?php
|
2 | 2 | ||
3 | /**
|
3 | /**
|
4 | *
|
4 | *
|
5 | * Codename: ant-ng - generator of sources.list for Debian and
|
5 | * Codename: ant-ng - generator of sources.list for Debian and
|
6 | * distributives, based on Debian
|
6 | * distributives, based on Debian
|
7 | * http://alex-w.org.ru/p/antng/
|
7 | * http://alex-w.org.ru/p/antng/
|
8 | *
|
8 | *
|
9 | * Copyright (c) 2009 Alexander Wolf
|
9 | * Copyright (c) 2009 Alexander Wolf
|
10 | * Dual licensed under the MIT and GNU LGPL licenses.
|
10 | * Dual licensed under the MIT and GNU LGPL licenses.
|
11 | * http://alex-w.org.ru/p/antng/license
|
11 | * http://alex-w.org.ru/p/antng/license
|
12 | *
|
12 | *
|
13 | */
|
13 | */
|
14 | 14 | ||
- | 15 | # Define options for MySQL connection
|
|
- | 16 | define('DBNAME', "generator"); // Database name |
|
- | 17 | define('DBUSER', "sqluser"); // Database user |
|
- | 18 | define('DBPASS', "sqlpass"); // Password |
|
15 | require_once dirname(__FILE__)."/config.php"; |
19 | define('DBHOST', "localhost"); // Database host |
16 | - | ||
- | 20 | define('PREFIX', "g_"); // Database tables prefix |
|
17 | 21 | ||
18 | ?>
|
22 | ?>
|
19 | 23 |