LoginSignup
0

More than 5 years have passed since last update.

AltSysのテンプレート自動更新で拡張子html以外のファイルも対象にする

Posted at

xoops_trust_path/libs/altsys/include/autoupdate_from_module.inc.php Line 19

if( is_file( $file_path ) && substr( $file , -5 ) == '.html' ) {

というように拡張子は.html固定になってるので下記のように拡張子見てる部分を削除すればOK

if( is_file( $file_path )) {

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0