File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -446,6 +446,6 @@ function html_notif(not){
446
446
}
447
447
448
448
function toanchor ( text ) {
449
- var exp = / ( \b ( h t t p s ? | f t p | f i l e ) : \/ \/ [ - A - Z 0 - 9 + & @ # \/ % ? = ~ _ | ! : , . ; ] * [ - A - Z 0 - 9 + & @ # \/ % = ~ _ | ] ) / i ;
450
- return text . replace ( exp , "<a href='$1'>$1</a>" ) ;
449
+ var exp = / ( \s ( h t t p s ? | f t p | f i l e ) : \/ \/ [ - A - Z 0 - 9 + & @ # \/ % ? = ~ _ | ! : , . ; ] * [ - A - Z 0 - 9 + & @ # \/ % = ~ _ | ] ) / igm ;
450
+ return text . replace ( exp , "<a target='_BLANK' href='$1'>$1</a>" ) ;
451
451
}
Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ function process($action){
85
85
include $ path ;
86
86
$ actn = new $ action [0 ]($ this ->data );
87
87
if (method_exists ($ actn ,$ action [1 ])){
88
- return $ actn ->$ action [1 ]($ this ->data );
88
+ $ func = (string )$ action [1 ];
89
+ return $ actn ->$ func ($ this ->data );
89
90
}
90
91
}else {
91
92
echo "file Not Found " ;
You can’t perform that action at this time.
0 commit comments