File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
osTicket
2
2
========
3
- <a href =" http ://osticket.com" ><img src="http://osticket.com/sites/default/files/osTicket.jpg "
3
+ <a href =" https ://osticket.com" ><img height="80px" width="80px" src="images/favicon.png "
4
4
align="left" hspace="10" vspace="6"></a >
5
5
6
6
** osTicket** is a widely-used open source support ticket system. It seamlessly
Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ function __construct($message) {
25
25
global $ ost ;
26
26
27
27
parent ::__construct (__ ($ message ));
28
- $ message = str_replace (ROOT_DIR , '(root)/ ' , _S ($ message ));
29
28
30
- if ($ ost && $ ost -> getConfig ()-> getLogLevel () == 3 )
31
- $ message .= "\n\n" . $ this -> getBacktrace ( );
29
+ if ($ ost) {
30
+ $ message = str_replace ( ROOT_DIR , ' (root)/ ' , _S ( $ message ) );
32
31
33
- $ ost ->logError ($ this ->getTitle (), $ message , static ::$ sendAlert );
32
+ if ($ ost ->getConfig ()->getLogLevel () == 3 )
33
+ $ message .= "\n\n" . $ this ->getBacktrace ();
34
+
35
+ $ ost ->logError ($ this ->getTitle (), $ message , static ::$ sendAlert );
36
+ }
34
37
}
35
38
36
39
function getTitle () {
You can’t perform that action at this time.
0 commit comments