]> git.mxchange.org Git - mailer.git/blobdiff - DOCS/tpl-validator.php
New network added, sorting now showed:
[mailer.git] / DOCS / tpl-validator.php
index 132a3c01fb46d121d0a42c7e20b14f194e2c010d..a9f18c42ffb3cc35ba5f329894555d7558a4f2a2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/11/2008 *
- * ===============                              Last change: 09/11/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/11/2008 *
+ * ===================                          Last change: 09/11/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : tpl-validator.php                                *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -76,7 +77,7 @@ if ($data != $newData) {
        print "Template ".$_SERVER['argv'][1]." might be issue-free.\n";
 }
 
-if (strtolower($_SERVER['arv'][2]) == '--write') {
+if ((isset($_SERVER['arv'][2])) && (strtolower($_SERVER['arv'][2]) == '--write')) {
        print "Writing document...\n";
        file_put_contents($_SERVER['argv'][1], $data);
 } // END - if