connect_error) { echo "

Could not connect to database

"; } // Check which directory icons are in if (is_dir("assets/icons/")) { $dir = "assets/icons/"; } else { $dir = "../assets/icons/"; } ?>