function install_award_idents()
{
    //scan available configs and save the appropriate awardfiles
    configscanner();
    end_process();
    //delete cache to display new medal owners
    $files = glob("dynamic/cache/*.txt");
    foreach ($files as $file) {
        unlink($file);
    }
}
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 *  http://www.gnu.org/copyleft/gpl.html
 ***************************************************************************/
include "../inc_mysql.php";
include "../func-globallogic.php";
echo "<td width=\"100%\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"10\">";
echo "<tr><td align=\"left\" valign=\"top\">";
if (!isset($pop)) {
    $pop = 1;
}
$cpath = abs_pathlink($pop);
error_reporting(0);
//scan available configs and save the appropriate awardfiles
configscanner();
end_process();
//********************************************************************************
//  FUNCTIONS
//********************************************************************************
function identify_config()
{
    global $currentconfignumber;
    global $currentconfig;
    global $cpath;
    // If statsconfig.php exists, we won't enable multiconfig functionality
    if (file_exists($cpath . "config/statsconfig.php")) {
        $currentconfig = "statsconfig.php";
        $currentconfignumber = 0;
    } elseif (file_exists($cpath . "config/statsconfig1.php")) {
        $currentconfig = "statsconfig1.php";