change the myslice log file name and make it writable by apache
[plewww.git] / plekit / php / updateConfiguration.php
index 8b37381..9a0340b 100644 (file)
@@ -20,7 +20,7 @@ $tag_id=intval($_GET["tag_id"]);
 
 $api->UpdatePersonTag( $tag_id, $value );
 
-$myFile = "/var/log/myslice-log";
+$myFile = "/var/log/myslice.log";
 $fh = fopen($myFile, 'a') or die("can't open file");
 $stringData = "\n".date('Ymd-H:i')."|".$person_id.":".$slice_id.":".$value;
 fwrite($fh, $stringData);