Fixed an old static link that was pointing directly to my domain...
Added a possible fix if your upload doesn't work Adding config.php to .gitignore
This commit is contained in:
parent
97a83a972f
commit
50264d10f8
|
@ -0,0 +1 @@
|
|||
src/u/config.php
|
|
@ -45,7 +45,7 @@
|
|||
<?php foreach($files1 as $file){
|
||||
if(!in_array($file, $ignore)){?>
|
||||
<tr>
|
||||
<td><a target="_blank" href="http://jiy.io/<?php echo($file);?>"><?php echo($file);?></a></td>
|
||||
<td><a target="_blank" href="<?php echo $config['output_url'];?><?php echo($file);?>"><?php echo($file);?></a></td>
|
||||
<td><?php echo filesize($file);?></td>
|
||||
<td><?php echo date ("d M Y H:i", filemtime($file))?></td>
|
||||
<td><?php echo pathinfo($file, PATHINFO_EXTENSION);?></td>
|
||||
|
|
|
@ -15,7 +15,7 @@ if (isset($_POST['key'])) {
|
|||
$target_parts = explode("/u/", $target);
|
||||
echo $uploadhost . end($target_parts);
|
||||
} else {
|
||||
echo "Sorry, there was a problem uploading your file.";
|
||||
echo "Sorry, there was a problem uploading your file. (Ensure your directory has 777 permissions)";
|
||||
}
|
||||
} else {
|
||||
header('Location: '.$redirect);
|
||||
|
|
Loading…
Reference in New Issue