umask_fix.
This commit is contained in:
parent
d13a9e3189
commit
d199fa0074
|
@ -4,6 +4,7 @@
|
|||
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
|
||||
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
|
||||
//umask(0000);
|
||||
umask(0002);
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ $loader->unregister();
|
|||
$apcLoader->register(true);
|
||||
*/
|
||||
|
||||
umask(0002);
|
||||
|
||||
require_once __DIR__.'/../app/AppKernel.php';
|
||||
//require_once __DIR__.'/../app/AppCache.php';
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ use Symfony\Component\Debug\Debug;
|
|||
|
||||
// If you don't want to setup permissions the proper way, just uncomment the following PHP line
|
||||
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
|
||||
//umask(0000);
|
||||
umask(0002);
|
||||
|
||||
// This check prevents access to debug front controllers that are deployed by accident to production servers.
|
||||
// Feel free to remove this, extend it, or make something more sophisticated.
|
||||
|
|
Loading…
Reference in a new issue