Location: PHPKode > scripts > NConf > nconf-1.3.0-0/nconf/UPDATE/1.2.5_to_1.2.6/version_check.php
<?php
# V 1.2.6 lookup
# are the new fields existing
$query = 'SHOW COLUMNS FROM ConfigAttrs;';
$check_126_result = mysql_query($query, $dbh);
while ($row = @mysql_fetch_assoc($check_126_result)){
    if ( ($row["Field"] == "link_as_child") AND ($row["Type"] == "enum('yes','no')") ){
        $installed_version = "1.2.6";
    }
}

?>
Return current item: NConf