Base URL in config file
This commit is contained in:
parent
4edfdd3edd
commit
eeb506bdf7
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,6 @@
|
|||
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
|
||||
* @link http://rudloff.pro
|
||||
* */
|
||||
$baseURL = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']);
|
||||
?>
|
||||
<footer>
|
||||
<div class="footer_wrapper">
|
||||
|
@ -29,6 +28,6 @@ $baseURL = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']);
|
|||
·
|
||||
Based on <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
|
||||
·
|
||||
<a href="javascript:window.location='<?php echo $baseURL; ?>/api.php?url='+location.href;">Bookmarklet</a>
|
||||
<a href="javascript:window.location='<?php echo BASE_URL; ?>/api.php?url='+location.href;">Bookmarklet</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue