Xoops 雜記‎ > ‎Xoops 之 FAQ‎ > ‎

mainfile.php

mainfile.php裡重要的definition:

以xampp安裝包為例:

// XOOPS Physical Paths

// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
    define( 'XOOPS_ROOT_PATH', 'C:/xampp/htdocs/xoops' ); 你xoops網站真實目錄(電腦裡的位置)

// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
    define( 'XOOPS_PATH', 'C:/xampp/xoops_lib' ); lib資料夾所在處,安裝完後才換位置的話要來此處改
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
    define( 'XOOPS_VAR_PATH', 'C:/xampp/xoops_data' ); 同上
// Alias of XOOPS_PATH, for compatibility, temporary solution
    define("XOOPS_TRUST_PATH", 'C:/xampp/xoops_trust_path' ); 同上

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define( 'XOOPS_URL', 'http://xoops網址' );
    define( 'XOOPS_URL', 'http://xoops網址' ); 別人用來連結的網址,首頁圖片會出現叉燒包就是這裡的問題