projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b941cc
)
tweeper.php: make error about missing stylesheet more explicit
author
Antonio Ospite <ao2@ao2.it>
Wed, 1 Jul 2015 11:34:53 +0000
(13:34 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 1 Jul 2015 11:34:53 +0000
(13:34 +0200)
tweeper.php
patch
|
blob
|
history
diff --git
a/tweeper.php
b/tweeper.php
index
81f5f85
..
178176d
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-161,7
+161,7
@@
class Tweeper {
private function load_stylesheet($host) {
$stylesheet = "file://" . __DIR__ . "/rss_converter_" . $host . ".xsl";
if (FALSE === file_exists($stylesheet)) {
private function load_stylesheet($host) {
$stylesheet = "file://" . __DIR__ . "/rss_converter_" . $host . ".xsl";
if (FALSE === file_exists($stylesheet)) {
- trigger_error("Conversion to RSS not supported
: $host
", E_USER_ERROR);
+ trigger_error("Conversion to RSS not supported
for $host ($stylesheet not found)
", E_USER_ERROR);
return NULL;
}
return NULL;
}