new umask().
This commit is contained in:
parent
40559e3eab
commit
bec53995a0
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
// if you don't want to setup permissions the proper way, just uncomment the following PHP line
|
// 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
|
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
|
||||||
//umask(0000);
|
umask(0002);
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,8 @@ $loader->unregister();
|
||||||
$apcLoader->register(true);
|
$apcLoader->register(true);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
umask(0002);
|
||||||
|
|
||||||
require_once __DIR__.'/../app/AppKernel.php';
|
require_once __DIR__.'/../app/AppKernel.php';
|
||||||
//require_once __DIR__.'/../app/AppCache.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
|
// 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
|
// 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.
|
// 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.
|
// Feel free to remove this, extend it, or make something more sophisticated.
|
||||||
|
|
Loading…
Reference in a new issue