]> git.mxchange.org Git - mailer.git/blobdiff - DOCS/tpl-validator.php
Deprecated 'replacer' removed. Now we use EL code instead (there are a lot example...
[mailer.git] / DOCS / tpl-validator.php
index d4de7418bd1a41df293816810613a83ed0c943f5..c0a8dc3e4085939c01ad7378acce56bb3f8e0834 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -77,7 +75,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