Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 73 → Редакция 72

/trunk/install.php
Файл удален
/trunk/index.php
21,16 → 21,12
*/
 
 
if (file_exists('./lib/config.inc.php')) {
require_once "lib/init.php";
 
require_once "lib/init.php";
 
$req =& $db->query("SELECT * FROM settings WHERE opt LIKE 'interface'");
if ($req->numRows()>0) {
$req->fetchInto($if, DB_FETCHMODE_ASSOC);
$file = stripslashes($if["optvalue"]).".php";
}
 
$req =& $db->query("SELECT * FROM settings WHERE opt LIKE 'interface'");
if ($req->numRows()>0) {
$req->fetchInto($if, DB_FETCHMODE_ASSOC);
$file = stripslashes($if["optvalue"]).".php";
} else {
$file = "install.php";
}