Mason Blog
  • 首頁
  • n8n
  • 關於我
Sign in Subscribe

Latest

工程師筆記

如何啟用Wordpress Debug Log

在 wp-config.php 添加 define define( 'WP_DEBUG', true );define( 'WP_DEBUG_DISPLAY', false );define( 'WP_DEBUG_LOG', '/srv/www/all-debug.log' ); 使用 Log error_log( 'Hello World!' ); 當要印變數使用 error_log( print_r( 'Hello World!', true ) ); error_log

By Mason Tang 06 10月 2024
Obsidian 新增檔案在當前目錄

Obsidian

Obsidian 新增檔案在當前目錄

設定 > 檔案與連結 > 新建筆記儲存位置 > 選擇目前檔案所在的資料夾 這樣如此一來在新增檔案,或是 Ctrl + N 時,新的未命名檔案,就會出現在目前打開的文件所在目錄。 以及使用 [[Wikilinks]] 不存在的檔案時,點擊也會在該目錄建立檔案。

By Mason Tang 05 10月 2024
See all
Mason Blog
Powered by Ghost

Mason Blog

自動化 | AI | 程式開發 | 顧問服務