Moving to GitHub.
[platal.git] / bin / marketPromo.php
index c385c1d..076e019 100755 (executable)
@@ -6,8 +6,8 @@ require_once 'connect.db.inc.php';
 require_once 'marketing.inc.php';
 
 $opts = getopt('f:l:m:');
-if (($opts['f'] && $opts['f'] == '-') || empty($opts['f'])) { 
-    $file = 'php://stdin'; 
+if (($opts['f'] && $opts['f'] == '-') || empty($opts['f'])) {
+    $file = 'php://stdin';
 } else {
     $file = $opts['f'];
 }
@@ -46,6 +46,6 @@ while ($data = fgetcsv($handle)) {
     $market->send();
 }
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>