dedecms5.7轉(zhuǎn)移data目錄后驗證碼無法顯示的解決辦法
導(dǎo)讀:dedecmsdedecmsdedecms最新更新的5.7版本在我們的管理后臺中有一個轉(zhuǎn)移data目錄的建議,我想這也是為了安全吧但是轉(zhuǎn)移data目錄后可能會出現(xiàn)驗證碼不顯示的問題,下面就織夢后臺模板手機模板dede。
dedecms最新更新的5.7版本在我們的管理后臺中有一個轉(zhuǎn)移data目錄的建議,我想這也是為了安全吧 但是轉(zhuǎn)移data目錄后可能會出現(xiàn)驗證碼不顯示的問題,下面就來說一下吧 也許你還有這個東西沒有調(diào)整到位 可以參考一下: 打開include下的vdimgck.php, 找到如下代碼: require_once (dirname(__FILE__).’/../data/safe/inc_safe_config.php’); require_once (dirname(__FILE__).’/../data/config.cache.inc.php’); &n織夢模板免費下裁bsp; $config = array( ‘font_size’ => 14, 織夢模板 ‘img_height’ => $safe_wheight, ‘word_type’ => (int)$safe_codetype, // 1:數(shù)字 2:英文 3:單詞 ‘img_width’ => $safe_wwidth, ‘use_boder’ => TRUE, ‘font_file’ => dirname(__FILE__).’/data/fonts/ggbi.ttf’, ‘wordlist_file’ => dirname(__FILE__).’/data/words/words.txt’, ‘filter_type’ => 5); $sessSavePath = dirname(__FILE__)."/../data/sessions/";
將上面代碼中的data路徑做相應(yīng)的調(diào)整,比如上面3步操作是將data移到根目錄的上一級目錄,我們這里對data的路徑加一個“/..”,改后如下: require_once (dirname(__FILE__).’/../../data/safe/inc_safe_config.php’); require_once (dirname(__FILE__).’/../../data/config.cache.inc.php’); $config = array( ‘font_size’ => 14, ‘img_height’ => $safe_wheight, ‘word_type’ => (int)$safe_codetype, // 1:數(shù)字 2:英文 3:單詞 ‘img_width’ => $safe_wwidth, ‘use_boder’ => TRUE, ‘font_file’ => dirname(__FILE__).’/data/fonts/ggbi.ttf’, ‘wordlist_file’ => dirname(__FILE__).’/data/words/words.txt’, ‘filter_type’ => 5);  織夢首頁模板; $sessSavePath = dirname(__FILE__)."/../../data/sessions/";
聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-07-22 ,文章dedecms5.7轉(zhuǎn)移data目錄后驗證碼無法顯示的解決辦法主要講述驗證碼,解決辦法,dedecms網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請保留鏈接: http://www.bifwcx.com/article/web_33985.html
為你推薦與dedecms5.7轉(zhuǎn)移data目錄后驗證碼無法顯示的解決辦法相關(guān)的文章
-
通王TWCMS 2.0.3網(wǎng)站模板程序下載
(126)人喜歡 2024-01-15 -
Windows官方原版在哪里下載
(175)人喜歡 2024-01-15 -
WordPress網(wǎng)站模板發(fā)帖標(biāo)題顏色設(shè)置
(131)人喜歡 2024-01-07 -
修改discuz論壇帖子標(biāo)題80字符的長度限制
(249)人喜歡 2024-01-07 -
wordpress程序調(diào)用不帶超鏈接的Tag標(biāo)簽
(234)人喜歡 2024-01-05 -
網(wǎng)站在不同時期需調(diào)整內(nèi)容更新的方向
(112)人喜歡 2023-08-12