Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

validate postgresql module / functions

  • Loading branch information...
commit f56cae42913606ca9893983e3b62199a7f68b8b9 1 parent e591269
@twain47 authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 website/status.php
View
12 website/status.php
@@ -10,6 +10,18 @@
exit;
}
+ $sStandardWord = $oDB->getOne("select make_standard_name('a')");
+ if (PEAR::isError($sStandardWord))
+ {
+ echo "ERROR: Module failed";
+ exit;
+ }
+ if ($sStandardWord != 'a')
+ {
+ echo "ERROR: Transliteration failed";
+ exit;
+ }
+
$iWordID = $oDB->getOne("select word_id,word_token, word, class, type, country_code, operator, search_name_count from word where word_token in (' a')");
if (PEAR::isError($iWordID))
{
Please sign in to comment.
Something went wrong with that request. Please try again.