diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-10-06 22:11:46 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-10-06 22:11:46 +0200 |
commit | 57d846dbe973ec13691e4b690ea25ee5fa6d145e (patch) | |
tree | 028f22773cb69502fae68590147fe858ac6dc0f7 /lib/exe | |
parent | 69d17d94c50857e95e30b3becdb2c068f9c764b9 (diff) | |
download | rpg-57d846dbe973ec13691e4b690ea25ee5fa6d145e.tar.gz rpg-57d846dbe973ec13691e4b690ea25ee5fa6d145e.tar.bz2 |
do not display full path names in JS comments FS#1770
Ignore-this: e25dcba3daa9d89efbeb1bfdfe0f24bb
darcs-hash:20091006201146-7ad00-ca35f4e0bd96cbe008fb77ae8391de2a74b9fc49.gz
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/js.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php index b11dfa6ce..f7bd574ed 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -97,9 +97,9 @@ function js_out(){ // load files foreach($files as $file){ - echo "\n\n/* XXXXXXXXXX begin of $file XXXXXXXXXX */\n\n"; + echo "\n\n/* XXXXXXXXXX begin of ".str_replace(DOKU_INC, '', $file) ." XXXXXXXXXX */\n\n"; js_load($file); - echo "\n\n/* XXXXXXXXXX end of $file XXXXXXXXXX */\n\n"; + echo "\n\n/* XXXXXXXXXX end of " . str_replace(DOKU_INC, '', $file) . " XXXXXXXXXX */\n\n"; } |