DOCTYPE must be set before anything else

By setting doctype before settings.php, the script elements etc are
loaded after defining the doctype to be html5. This issue only affects
IE9 and not Chrome or Firefox.
This commit is contained in:
Matt Pass
2013-01-18 12:59:41 +00:00
parent 27da7ed0fe
commit 01c8a10463

View File

@@ -1,3 +1,4 @@
<!DOCTYPE html>
<?php include("lib/settings.php");
// Check IP permissions
@@ -15,7 +16,6 @@ if ($ICEcoder["checkUpdates"]) {
}
}
?>
<!DOCTYPE html>
<html onMouseDown="top.ICEcoder.mouseDown=true" onMouseUp="top.ICEcoder.mouseDown=false" onMouseMove="if(top.ICEcoder) {top.ICEcoder.getMouseXY(event,'top');top.ICEcoder.canResizeFilesW()}">
<head>