maba Posted April 29, 2014 Share Posted April 29, 2014 Hi, I have a script that runs on crontab and update some fields. The problem is that when it runs from shell I got php notices from some modules: [28-Apr-2014 17:16:25 Europe/Rome] PHP Notice: Undefined index: REQUEST_URI in /Users/maba/Workspace/src/aaa/site/modules/AdminHotKeys/AdminHotKeys.module on line 70 [28-Apr-2014 17:16:25 Europe/Rome] PHP Notice: Undefined index: REQUEST_URI in /Users/maba/Workspace/src/aaa/site/modules/ChromePhpLogger/ChromePhpLogger.module on line 51 Ok, I can remove all warnings and notices but, is there a way to exclude or not load some modules when we include index.php? Thanks, Marco Link to comment Share on other sites More sharing options...
Soma Posted April 29, 2014 Share Posted April 29, 2014 I don't think that's possible. You can ignore those notices. You will also get some from ProcessWire core btw. Link to comment Share on other sites More sharing options...
maba Posted April 29, 2014 Author Share Posted April 29, 2014 Ok, thanks Soma. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now