Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
efd164f6
Commit
efd164f6
authored
Jul 02, 2015
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use exception instead of exit
parent
c181994f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
phar/buildphar.php
phar/buildphar.php
+1
-1
No files found.
phar/buildphar.php
View file @
efd164f6
...
...
@@ -36,7 +36,7 @@
// Check phar.readonly ini setting
if
(
ini_get
(
'phar.readonly'
)
==
'1'
)
{
exit
(
"Your php.ini has phar.readonly enabled. Phar cannot be created. Please alter your php.ini first.
\n
"
);
throw
new
\RuntimeException
(
"Your php.ini has phar.readonly enabled. Phar cannot be created. Please alter your php.ini first.
\n
"
);
}
// You can optionally use arguments to enable compression and whitespace/comment stripping.
...
...
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