Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
17835bb5
Commit
17835bb5
authored
Oct 28, 2024
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace spaces in file name
parent
ba34bb99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
class-video-upload.php
includes/class-video-upload.php
+1
-1
video.php
templates/video.php
+1
-1
No files found.
includes/class-video-upload.php
View file @
17835bb5
...
@@ -52,7 +52,7 @@ if(!class_exists('SH_VideoUpload')) {
...
@@ -52,7 +52,7 @@ if(!class_exists('SH_VideoUpload')) {
else
$uniqid
=
uniqid
();
else
$uniqid
=
uniqid
();
$uploadFolder
=
get_option
(
'sexhack_video_tmp_path'
,
'/tmp'
);
$uploadFolder
=
get_option
(
'sexhack_video_tmp_path'
,
'/tmp'
);
$uploadFileName
=
$uniqid
.
"_"
.
s
anitize_text_field
(
$request
->
getFileName
(
));
$uploadFileName
=
$uniqid
.
"_"
.
s
tr_replace
(
" "
,
"_"
,
sanitize_text_field
(
$request
->
getFileName
()
));
$uploadPath
=
$uploadFolder
.
"/"
.
$uploadFileName
;
$uploadPath
=
$uploadFolder
.
"/"
.
$uploadFileName
;
if
(
\Flow\Basic
::
save
(
$uploadPath
,
$config
,
$request
))
{
if
(
\Flow\Basic
::
save
(
$uploadPath
,
$config
,
$request
))
{
...
...
templates/video.php
View file @
17835bb5
...
@@ -211,7 +211,7 @@ get_header(); ?>
...
@@ -211,7 +211,7 @@ get_header(); ?>
else
if
(
$gif_preview
)
echo
'<img class="sexhack_videopreview" src="'
.
$gif_preview
.
'" loading="lazy"></img>'
;
else
if
(
$gif_preview
)
echo
'<img class="sexhack_videopreview" src="'
.
$gif_preview
.
'" loading="lazy"></img>'
;
else
echo
'<img class="sexhack_videopreview" src="'
.
$thumb
.
'" loading="lazy"></img>'
;
else
echo
'<img class="sexhack_videopreview" src="'
.
$thumb
.
'" loading="lazy"></img>'
;
?>
?>
<h2
class=
'sexhack-videonotify'
style=
"padding:5%;"
><b>
PUBLIC VIDEO NOT AVAILABLE
</b></h2>
<h2
class=
'sexhack-videonotify'
style=
"padding:5%;"
><b>
LOGIN TO WATCH THIS VIDEO
</b></h2>
<?php
<?php
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment