1
0
Fork 0
forked from len0rd/rockbox

Improve plugin API documentation updater a bit

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18753 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-10-09 11:48:26 +00:00
parent 486869693c
commit e7ea23b180
2 changed files with 47 additions and 2 deletions

View file

@ -13,7 +13,10 @@ function get_newest()
{
global $svn;
$text = file_get_contents("../../apps/plugin.h");
$mypath = $_SERVER['SCRIPT_FILENAME'];
$mypath = substr($mypath, 0, strrpos($mypath, "/"))."/";
$text = file_get_contents($mypath."../../apps/plugin.h");
$text = str_replace(array("\r\n", "\r"), "\n", $text);