Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
6e2149a9
Commit
6e2149a9
authored
Feb 18, 2016
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3163b90e
1e3bf8d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
backend/web/filemanager/config/config.php
backend/web/filemanager/config/config.php
+8
-6
environments/prod/backend/config/params-local.php
environments/prod/backend/config/params-local.php
+1
-0
No files found.
backend/web/filemanager/config/config.php
View file @
6e2149a9
...
...
@@ -2,6 +2,12 @@
session_start
();
mb_internal_encoding
(
'UTF-8'
);
date_default_timezone_set
(
'Europe/Rome'
);
$params
=
require
(
__DIR__
.
'/../../../config/params-local.php'
);
// $application = new yii\web\Application($config);
// $application->run();
//------------------------------------------------------------------------------
// DON'T COPY THIS VARIABLES IN FOLDERS config.php FILES
//------------------------------------------------------------------------------
...
...
@@ -20,12 +26,8 @@ date_default_timezone_set('Europe/Rome');
// | | | |- responsivefilemanager
// | | | | |- plugin.min.js
$base_url
=
// Get HTTP/HTTPS
((
isset
(
$_SERVER
[
'HTTPS'
])
&&
$_SERVER
[
'HTTPS'
]
&&
!
in_array
(
strtolower
(
$_SERVER
[
'HTTPS'
]),
array
(
'off'
,
'no'
)))
?
'https'
:
'http'
)
.
'://'
.
// Get domain portion
$_SERVER
[
'HTTP_HOST'
];
// DON'T TOUCH (base url (only domain) of site (without final /)).
// Get domain portion
$base_url
=
$params
[
'frontUrl'
];
// DON'T TOUCH (base url (only domain) of site (without final /)).
$upload_dir
=
'/uploads/source/'
;
// path from base_url to base of upload folder (with start and final /)
$current_path
=
'../../../frontend/web/uploads/source/'
;
// relative path from filemanager folder to upload folder (with final /)
//thumbs folder can't put inside upload folder
...
...
environments/prod/backend/config/params-local.php
View file @
6e2149a9
<?php
return
[
'frontUrl'
=>
'http://task-on.com'
];
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