SELECT *
FROM connectby('{$table}', '{$key}', '{$parent}',
'{$order}', '{$start}', {$maxDepth})
- as t(id text, parent text, level int, pos int)";
+ as t(id int, parent int, level int, pos int)";
if ($validParent) {
$sql .= " WHERE parent is not null";
}
; error message displayed - used for GLM_DB class
database.error.message = "An error has occured with the database!"
; host to connect to
-database.params.host = "ds4"
+database.params.host = "ds5"
; username to connect as
database.params.username = "nobody"
; database name to connect to
. "/**\n"
. " * GLM Standard Site Monitoring Target\n"
. " */\n\n"
- . "define('HOST', 'ds4.gaslightmedia.com');\n"
+ . "define('HOST', 'ds5.gaslightmedia.com');\n"
. "define('USER', 'nobody');\n"
. "define('DBNAME', '$dbname');\n"
. "\n"