Posted: Wed 01 Apr 2009 9:37 pm
Aaah. MySQL was once a default extension, but no longer, eh?
Good catch Zoltan. I can put a test in for that.
4Shades
Good catch Zoltan. I can put a test in for that.
4Shades
An Open Source community for historical flight simulation.
https://seowhq.net/seowforum/
Code: Select all
<?php
if ( !extension_loaded('mysql') ) {
print "SEOW MP system error: MySQL is not loaded into your PHP environment!<br>Please enable the mysql extension in your php.ini file and restart your web server.";
die;
}
// asp2php (vbscript) converted
include 'MP-Configuration.php';
switch (strtoupper($MPSkin)) {
case "ROLLOVER":
include 'default-rollover.php';
break;
case "CLASSIC":
include 'default-classic.php';
break;
case "GREEN":
include 'default-green.php';
break;
case "IRON":
include 'default-iron.php';
break;
default:
include 'default-green.php';
break;
}
?>