Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Platform
Commits
07df6de1
Unverified
Commit
07df6de1
authored
Sep 28, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CS: PSR1/2
parent
fbccc690
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
15 deletions
+1
-15
ConfigureAppUrl.php
Modules/Core/Console/Installers/Scripts/ConfigureAppUrl.php
+1
-11
RenameFolderOnDisk.php
Modules/Media/Events/Handlers/RenameFolderOnDisk.php
+0
-1
BatchDestroyController.php
...les/Media/Http/Controllers/Api/BatchDestroyController.php
+0
-1
FolderBreadcrumbController.php
...Media/Http/Controllers/Api/FolderBreadcrumbController.php
+0
-1
ImagyTest.php
Modules/Media/Tests/ImagyTest.php
+0
-1
No files found.
Modules/Core/Console/Installers/Scripts/ConfigureAppUrl.php
View file @
07df6de1
...
...
@@ -63,34 +63,24 @@ class ConfigureAppUrl implements SetupScript
*/
protected
function
askAppUrl
()
{
do
{
$str
=
$this
->
command
->
ask
(
'Enter you application url (e.g. http://localhost, http://dev.example.com)'
,
'http://localhost'
);
if
(
$str
==
''
||
(
strpos
(
$str
,
'http://'
)
!==
0
&&
strpos
(
$str
,
'https://'
)
!==
0
))
{
$this
->
command
->
error
(
'A valid http:// or https:// url is required'
);
$str
=
false
;
}
}
while
(
!
$str
);
return
$str
;
}
/**
* @param $vars
*/
protected
function
setLaravelConfiguration
(
$vars
)
{
$this
->
config
[
'app.url'
]
=
$vars
[
'app_url'
];
}
}
\ No newline at end of file
}
Modules/Media/Events/Handlers/RenameFolderOnDisk.php
View file @
07df6de1
...
...
@@ -34,7 +34,6 @@ class RenameFolderOnDisk
$newPath
=
$event
->
folder
->
path
->
getRelativeUrl
();
$this
->
replacePathReferences
(
$event
->
folder
->
id
,
$previousPath
,
$newPath
);
}
private
function
renameFolder
(
$event
)
...
...
Modules/Media/Http/Controllers/Api/BatchDestroyController.php
View file @
07df6de1
...
...
@@ -4,7 +4,6 @@ namespace Modules\Media\Http\Controllers\Api;
use
Illuminate\Http\Request
;
use
Illuminate\Routing\Controller
;
use
Modules\Media\Entities\File
;
use
Modules\Media\Image\Imagy
;
use
Modules\Media\Repositories\FileRepository
;
use
Modules\Media\Repositories\FolderRepository
;
...
...
Modules/Media/Http/Controllers/Api/FolderBreadcrumbController.php
View file @
07df6de1
...
...
@@ -2,7 +2,6 @@
namespace
Modules\Media\Http\Controllers\Api
;
use
Illuminate\Http\Request
;
use
Illuminate\Routing\Controller
;
use
Modules\Media\Entities\File
;
use
Modules\Media\Repositories\FolderRepository
;
...
...
Modules/Media/Tests/ImagyTest.php
View file @
07df6de1
...
...
@@ -10,7 +10,6 @@ use Modules\Media\Image\Intervention\InterventionFactory;
use
Modules\Media\Image\ThumbnailManager
;
use
Modules\Media\Repositories\FolderRepository
;
use
Modules\Media\Services\FileService
;
use
Modules\Media\ValueObjects\MediaPath
;
class
ImagyTest
extends
MediaTestCase
{
...
...
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