|
Revision 4071, 360 bytes
(checked in by p_lindheimer, 6 years ago)
|
#1984: move callback agi script to module
|
- Property svn:mime-type set to
text/html
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<? |
|---|
| 2 |
|
|---|
| 3 |
global $asterisk_conf; |
|---|
| 4 |
out("Cleaning up leftover callback script that was distributed in core..."); |
|---|
| 5 |
outn("callback..."); |
|---|
| 6 |
if (file_exists($asterisk_conf['astvarlibdir']."/bin/callback") && !is_link($asterisk_conf['astvarlibdir']."/bin/callback")) { |
|---|
| 7 |
unlink($asterisk_conf['astvarlibdir']."/bin/callback"); |
|---|
| 8 |
out("Done"); |
|---|
| 9 |
} else { |
|---|
| 10 |
out("Not Required"); |
|---|
| 11 |
} |
|---|
| 12 |
|
|---|
| 13 |
?> |
|---|