Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
f248ee01
Commit
f248ee01
authored
Jan 27, 2015
by
Thomas Müller
Browse files
Merge pull request #13694 from owncloud/little-bit-more-descriptive-htaccess-error
Make error more descriptive
parents
c8f58054
d8559dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/setup.php
View file @
f248ee01
...
...
@@ -273,7 +273,7 @@ class OC_Setup {
public
static
function
updateHtaccess
()
{
$setupHelper
=
new
OC_Setup
(
\
OC
::
$server
->
getConfig
());
if
(
!
$setupHelper
->
isCurrentHtaccess
())
{
throw
new
\
OC\HintException
(
'.htaccess file has the wrong version. Please upload the correct version.'
);
throw
new
\
OC\HintException
(
'.htaccess file has the wrong version. Please upload the correct version.
Maybe you forgot to replace it after updating?
'
);
}
$content
=
"
\n
"
;
...
...
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