openads_piwik_delivery.php
来自「一款可以和GOOGLE媲美的开源统计系统,运用AJAX.功能强大. 无色提示:」· PHP 代码 · 共 20 行
PHP
20 行
<?php// reads the template file containing the JS tag// and builds the JS tag using the config variable/** * Function called statically by the Openads-Piwik delivery engine plugin * Returns the javascript to print in the HEAD * * @param int The publisher ID in openads * @return string A javascript code or the empty string */function getJavascriptTag( $openadsPublisherId ){ // reads the $piwikUrl from the Piwik Config file // if not available, returns empty string as it means piwik is not installed // The mapping is applied as follows // Piwik_SiteId from the openads PublisherId// return str_replace('{PUBLISHER_ID', $id, file_get_contents()) }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?