Roland Haeder
c353b31569
- don't commit files that are being ignored, better provide a "template" file that needs copying to the right file and ignore the file that will have local changes like config files will always have. - fixed CHMOD, no need for executable flag here as the server won't execute these files, but only load (read) them - fixed E_NOTICE in boot.php when entrance/index page (no parameter) is being called Signed-off-by: Roland Haeder <roland@mxchange.org>
18 lines
No EOL
313 B
PHP
18 lines
No EOL
313 B
PHP
<?php
|
|
|
|
require_once('include/submit.php');
|
|
require_once('include/sync.php');
|
|
|
|
function submit_content(&$a) {
|
|
|
|
//Decode the URL.
|
|
$url = hex2bin(notags(trim($_GET['url'])));
|
|
|
|
//Currently we simply push RAW URL's to our targets.
|
|
sync_push($url);
|
|
|
|
//Run the submit sequence.
|
|
run_submit($url);
|
|
exit;
|
|
|
|
} |