Fix for missing 'ED' dir.
--- a/primer/index.php Thu Dec 15 16:42:00 2011 -0500
+++ b/primer/index.php Thu Dec 15 16:55:21 2011 -0500
@@ -39,13 +39,16 @@
htmlcode;
-$editorsDrafts = scandir('ED', 1);
+if(is_dir('ED'))
+{
+ $editorsDrafts = scandir('ED', 1);
-foreach($editorsDrafts as $draft)
-{
- if($draft != "." and $draft != "..")
+ foreach($editorsDrafts as $draft)
{
- print(" <li><a href=\"ED/$draft/\">$draft</a></li>");
+ if($draft != "." and $draft != "..")
+ {
+ print(" <li><a href=\"ED/$draft/\">$draft</a></li>");
+ }
}
}