vps server changes

This commit is contained in:
[3~
2020-10-10 11:04:01 +00:00
parent 486fe7a38e
commit 089eae0809
11 changed files with 478 additions and 428 deletions

View File

@@ -11,12 +11,12 @@ use App\Http\Controllers\Controller;
class ReportController extends Controller
{
private $fromMail = "otter@w0bm.com";
private $fromMail = "bullshit@w0bm.com";
private $fromName = "w0bm";
private $toMail = "admin@w0bm.com";
private $toName = "w0bm";
private $subject = "webm reported";
private $baseURL = "http://w0bm.com/";
private $baseURL = "https://w0bm.com/";
/**
* Made by klee
@@ -49,7 +49,7 @@ class ReportController extends Controller
"to" => array(
array("name" => 'admin@w0bm.com', "email" => 'admin@w0bm.com')
),
"from_email" => 'otter@w0bm.com',
"from_email" => 'bullshit@w0bm.com',
"from_name" => 'from w0bm',
"subject" => 'the subject',
"track_opens" => true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 180 KiB

View File

@@ -164,7 +164,7 @@ public function tesThumb() {
set_time_limit(9899999999999999);
$dat = $this->file;
#$in = public_path() . "/b"; // webm-input
$in = "/home/sirx/web/devw0bm/w0bm.com/public/b";
$in = "/home/w0bm/w0bm/public/b";
$out = public_path() . "/thumbs/beta"; //thumb-output
$tmpdir = str_replace("public", "app/Http/Controllers/tmp", public_path());
@@ -192,7 +192,7 @@ public function blurryThumb() {
set_time_limit(9899999999999999);
$dat = $this->file;
#$in = public_path() . "/b"; // webm-input
$in = "/home/sirx/web/devw0bm/w0bm.com/public/b";
$in = "/home/w0bm/w0bm/public/b";
$out = public_path() . "/thumbs/blurred"; //thumb-output
$tmpdir = str_replace("public", "app/Http/Controllers/tmp", public_path());

View File

@@ -54,7 +54,7 @@ return [
|
*/
'from' => ['address' => 'otter@w0bm.com', 'name' => 'w0bm.com Staff'],
'from' => ['address' => 'bullshit@w0bm.com', 'name' => 'w0bm.com Staff'],
/*
|--------------------------------------------------------------------------

877
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,7 @@
<div class="main-item">
<a href="/{{$video->id}}">
{{-- MUSS UNBEDINGT NOCH ANGEPASST WERDEN!!! --}}
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
@if(file_exists('/home/w0bm/w0bm/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else
{{$video->tesThumb()}}

View File

@@ -21,7 +21,7 @@
<iframe src="https://w0bm.com/loop/index.html"></iframe>
@else
<video id="video" loop controls preload="auto" crossorigin="anonymous">
<source src="/b{{ "/" . $video->file }}">
<source src="https://b.w0bm.com/b{{ "/" . $video->file }}">
<!-- rip fapple! <source src="//fapple.w0bm.com/{{str_replace(".webm","",$video->file)}}.mp4"> -->
</video>
@endif

View File

@@ -7,8 +7,7 @@
?>
<div class="main-item">
<a href="/{{$video->id}}">
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
@if(file_exists('/home/w0bm/w0bm/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else

View File

@@ -7,8 +7,7 @@
?>
<div class="main-item">
<a href="/{{$video->id}}">
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
@if(file_exists('/home/w0bm/w0bm/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else

View File

@@ -7,8 +7,7 @@
?>
<div class="main-item">
<a href="/{{$video->id}}">
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
@if(file_exists('/home/w0bm/w0bm/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else

View File

@@ -18,8 +18,8 @@
<div class="main-item">
<a href="/{{$video->id}}">
{{-- MUSS UNBEDINGT NOCH ANGEPASST WERDEN!!! --}}
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@if(file_exists('/home/w0bm/w0bm/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else
{{$video->tesThumb()}}
<img src="/thumbs/beta/{{$thumb}}.png">