Skip to content

Commit

Permalink
Do not load user site directories
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Mar 17, 2015
1 parent 7bf939b commit b6ca4dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mod_python.c
Expand Up @@ -772,6 +772,9 @@ static int python_init(apr_pool_t *p, apr_pool_t *ptemp,
{
initialized = 1;

/* disable user site directories */
Py_NoUserSiteDirectory = 1;

/* initialze the interpreter */
Py_Initialize();

Expand Down

0 comments on commit b6ca4dc

Please sign in to comment.