change pass
This commit is contained in:
parent
0123599347
commit
9dd47f6b44
@ -9,7 +9,7 @@ $checker = new BaseModule(
|
|||||||
$checker->printInfo();
|
$checker->printInfo();
|
||||||
|
|
||||||
|
|
||||||
$dbPath = '/tmp/test.dbf';
|
$dbPath = '/home/u525748/php84test.ff14wiki.ru/www/tmp/test.dbf';
|
||||||
|
|
||||||
$def = array(
|
$def = array(
|
||||||
array("date", "D"),
|
array("date", "D"),
|
||||||
@ -18,13 +18,14 @@ $def = array(
|
|||||||
array("email", "C", 128),
|
array("email", "C", 128),
|
||||||
array("ismember", "L")
|
array("ismember", "L")
|
||||||
);
|
);
|
||||||
|
echo "Я Тут";
|
||||||
if (!file_exists($dbPath)){
|
if (!file_exists($dbPath)){
|
||||||
|
echo "Я тута";
|
||||||
if (!dbase_create($dbPath, $def)) {
|
if (!dbase_create($dbPath, $def)) {
|
||||||
echo "<p>Error! Unable to create database<p>";
|
echo "<p>Error! Unable to create database<p>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
echo "Я пу пу пу";
|
||||||
$db = dbase_open($dbPath, 0)
|
$db = dbase_open($dbPath, 0)
|
||||||
or die("Error! Unable to open database file '$dbPath'.");
|
or die("Error! Unable to open database file '$dbPath'.");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user