Matomoï¼ã¢ã¯ã»ã¹è§£æãã¼ã«ï¼ã«ãã°ã¤ã³ã§ããªãåé¡ã解決ãã
Matomoã¨ããã¢ã¯ã»ã¹è§£æãã¼ã«ã使ã£ã¦ããã ããChromeããã¹ã¯ã¼ããå¿ãã¦ãã¾ã£ã¦ãMatomoãã¢ãããã¼ãããå½±é¿ã§ãã°ã¤ã³ã§ããªããªã£ã¦ãã¾ã£ãã
ãã¹ã¯ã¼ãããªã»ããããã®ã¯ããããããªã³ã¯ãéä¿¡ãã¾ãããã¨ã¡ãã»ã¼ã¸ãåºã¦ããã®ãªã³ã¯ãã¯ãªãã¯ããªãã¨ãªã»ãããããã¹ã¯ã¼ããæå¹ã«ãªããªããããã
ããããMatomoãè¨ç½®ãã¦ããVPSã«ã¯ã¡ã¼ã«ãµã¼ãã¼ãè¨ç½®ãã¦ãªããããã¡ã¼ã«ãéä¿¡ã§ããªãã
mysqlã§ç´æ¥ãã¹ã¯ã¼ããå¤æ´ãã¦ãããã®ãã¹ã¯ã¼ããæå¹ã«ãªã£ã¦ãªããããããã°ã¤ã³ã§ããªãã
å°ã£ãã
ä½ãæ¹æ³ã¯ãªããã¨èãã¦ãè¦ããã«ã¡ã¼ã«ã§éä¿¡ããã¦ããURLãåå¾ããã°ãªãã¨ããªãã ããã¨æã£ãã
ãã¹ã¯ã¼ãããªã»ãããããã¨ã«ã¡ã¼ã«ãéä¿¡ãã¦ããã¨ãããæ¤ç´¢ããã
$ grep 'mail->send()' `find . -name '*.php' -print`
PasswordResetter.php ã¨ããã¯ã©ã¹ã§ã¡ã¼ã«ãéä¿¡ãã¦ãããããã®ã§ããããã¡ãã£ã¨å¤æ´ããã
ã¡ã¼ã«ãéä¿¡ããã¨ããã§ãã¡ã¼ã«æ¬æããã¡ã¤ã«ã«åºåããã
@$mail->send();
error_log($bodyText, "3", "/tmp/matomo.log");
ããã§ããã¹ã¯ã¼ãããªã»ããããã¨ãã«éä¿¡ãããæ¬æãä¿åãããã
ãã¡ã¤ã«ãéãã¦ããªã³ã¯é¨åãã³ãã¼ãã¦ãã©ã¦ã¶ã«è²¼ãä»ãã¦ã¢ã¯ã»ã¹ããããç¡äºã«ããã¹ã¯ã¼ããå¤æ´ããã¾ããããã¨è¡¨ç¤ºããã¦ããã°ã¤ã³ã§ããããã«ãªã£ãã