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:
parent
486869693c
commit
e7ea23b180
2 changed files with 47 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue