Jump to content

Recommended Posts

Posted

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

Posted

I don't think that's possible.

You can ignore those notices. You will also get some from ProcessWire core btw.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...