Created
September 24, 2009 10:42
-
-
Save aaronrussell/192660 to your computer and use it in GitHub Desktop.
tinymce_communicate TinyBrowser hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* 1. Find list line (about line 60) | |
*/ | |
$replace = '<script type="text/javascript" src="' . trim($this->settings['script_path']) . '"></script>' . NL; | |
/* | |
* 2. Add DIRECTLY UNDERNEATH IT | |
*/ | |
$replace .= '<script type="text/javascript" src="' . str_replace('tiny_mce.js', 'plugins/tinybrowser/tb_tinymce.js.php', trim($this->settings['script_path'])) .'"></script>'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment