summaryrefslogtreecommitdiff
path: root/utils/rockbox_api/functions.php
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-10-09 11:48:26 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-10-09 11:48:26 +0000
commite7ea23b18025f41d21095ab8983bd3097b4accfb (patch)
tree134708a4774c526a601d1f740ca1322f8940f842 /utils/rockbox_api/functions.php
parent486869693c020e032626d3da6cd8dffb01217dbe (diff)
downloadrockbox-e7ea23b18025f41d21095ab8983bd3097b4accfb.tar.gz
rockbox-e7ea23b18025f41d21095ab8983bd3097b4accfb.zip
Improve plugin API documentation updater a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18753 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/rockbox_api/functions.php')
-rwxr-xr-xutils/rockbox_api/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/rockbox_api/functions.php b/utils/rockbox_api/functions.php
index 57a7c99b13..d66caa1b29 100755
--- a/utils/rockbox_api/functions.php
+++ b/utils/rockbox_api/functions.php
@@ -13,7 +13,10 @@ function get_newest()
13{ 13{
14 global $svn; 14 global $svn;
15 15
16 $text = file_get_contents("../../apps/plugin.h"); 16 $mypath = $_SERVER['SCRIPT_FILENAME'];
17 $mypath = substr($mypath, 0, strrpos($mypath, "/"))."/";
18
19 $text = file_get_contents($mypath."../../apps/plugin.h");
17 20
18 $text = str_replace(array("\r\n", "\r"), "\n", $text); 21 $text = str_replace(array("\r\n", "\r"), "\n", $text);
19 22