cvs: php-gtk-web /manual add-note.php
[email protected] ("Steph Fox") Fri, 07 Jul 2006 14:32:56 -0000
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <cvssfox1152282776@cvsserver> |
sfox Fri Jul 7 14:32:56 2006 UTC
Modified files:
/php-gtk-web/manual add-note.php
Log:
check for the db's existence rather than for the dir
http://cvs.php.net/viewvc.cgi/php-gtk-web/manual/add-note.php?r1=1.14&r2=1.15&diff_format=u
Index: php-gtk-web/manual/add-note.php
diff -u php-gtk-web/manual/add-note.php:1.14 php-gtk-web/manual/add-note.php:1.15
--- php-gtk-web/manual/add-note.php:1.14 Fri Jul 7 13:39:36 2006
+++ php-gtk-web/manual/add-note.php Fri Jul 7 14:32:56 2006
@@ -44,7 +44,7 @@
}
/* hide everything while we sort it all out */
-if (file_exists(DB_DIR)) {
+if (file_exists(DB_DIR."/$notesfile")) {
if (isset($_POST['add']) || isset($_POST['preview'])) {