summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/log.lib.php2
-rw-r--r--templates/customize_catalog.inc2
-rw-r--r--templates/show_box.inc2
-rw-r--r--templates/show_mpdplay.inc2
-rw-r--r--tv.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php
index 1273795e..e196a73f 100644
--- a/lib/log.lib.php
+++ b/lib/log.lib.php
@@ -33,7 +33,7 @@ function log_event($username='Unknown',$event_name,$event_description,$log_name=
$log_line = date("Y-m-d H:i:s",$log_time) . " { $username } ( $event_name ) - $event_description \n";
- error_log($log_line, 3, $log_filename) or die("Error: Unable to write to log ($log_filename)");
+ error_log($log_line, 3, $log_filename) or die("Error: Unable to write to log ($log_filename) Please check your log_path variable in ampache.cfg.php");
} // log_event
diff --git a/templates/customize_catalog.inc b/templates/customize_catalog.inc
index 243e66ae..05f6dea7 100644
--- a/templates/customize_catalog.inc
+++ b/templates/customize_catalog.inc
@@ -27,7 +27,7 @@
<table class="tabledata" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><?php echo _("Name"); ?>:</td>
- <td><input size="60" type="text" name="name" value="<?= htmlspecialchars($catalog->name);?>"></input></td>
+ <td><input size="60" type="text" name="name" value="<?php echo scrub_out($catalog->name); ?>"></input></td>
<td style="vertical-align:top; font-family: monospace;" rowspan="5">
<strong><?php echo _("Auto-inserted Fields"); ?>:</strong><br />
%A = <?php echo _("album name"); ?><br />
diff --git a/templates/show_box.inc b/templates/show_box.inc
index ea071e93..1d856458 100644
--- a/templates/show_box.inc
+++ b/templates/show_box.inc
@@ -29,7 +29,7 @@
<table class="border" cellspacing="1" cellpadding="3">
<tr align="center">
- <td background="<?= conf('web_path'); ?>/images/ampache-light-bg.gif" bgcolor="#c0c0c0"><?= $title ?></td>
+ <td background="<?php echo conf('web_path'); ?>/images/ampache-light-bg.gif" bgcolor="#c0c0c0"><?php echo $title; ?></td>
</tr>
<tr>
<td class="even">
diff --git a/templates/show_mpdplay.inc b/templates/show_mpdplay.inc
index 70cb44f9..84d95bd2 100644
--- a/templates/show_mpdplay.inc
+++ b/templates/show_mpdplay.inc
@@ -54,7 +54,7 @@ global $condPL;
</td>
</tr>
<tr><td class="content">
- Volume: <b><? echo $myMpd->volume ?>%</b>
+ Volume: <b><?php echo $myMpd->volume ?>%</b>
</td></tr>
<tr><td class="content" align="center">
diff --git a/tv.php b/tv.php
index c6d34bae..58c674bf 100644
--- a/tv.php
+++ b/tv.php
@@ -106,5 +106,5 @@ foreach($results as $item) {
} // while we're getting songs
?>
</table>
-<? } ?>
+<?php } ?>