用你熟悉的文字編輯器(如 nano)修改兩個檔案
/var/www/html/admin/common/script.js.php
/var/www/html/modules/pbxadmin/js/script.js.php
找到:
"The secret must contain at least two numbers and two letters."
在這一行上面,增加:
return false;
存檔後再新增/修改 Extensions 就可以了
本BLOG主要以自我學習備忘用,歡迎指教..^^
return false;
更新 2.30版
if (!file_exists($path) || !is_file($path)) {
Header('HTTP/1.1 404 Not Found');
die("404 4 "._tr("no_file")." ");
}
替換成
if (!file_exists($path) || !is_file($path)) {
// modified by alang
// check the format mp3
$mp3file = str_replace(".wav",".mp3",$file);
$mp3path = $path_record.$mp3file;
if (!is_file($mp3path)) {
die("404 40 ".$arrLang["no_file"]." ");
}else{
$file = $mp3file;
$path = $mp3path;
}
}
PS.如果在Elastix / monitoring 顯示 404 40
則要手動修改/var/www/html/modules/monitoring/configs/default.conf.php
#$arrConfModule['records_dir'] = '/var/spool/asterisk/monitor/';
改為你所指定的錄音檔存放路徑.
tools/
directory to your $PATH (問題1 )
使用Google自訂搜尋功能,遇到了css styles的問題
會在自訂顯示區,顯示一條空白的長條型,經檢查後是原來的Css Style中,.gsc-control-cse有設定border-width
=13及 padding=1;
Google Search:放置div顯示區:
本文節錄自:happyleading.sg1004.myweb.hinet.net
|
|||||
|
|||||
|