adding if defined check for PSM_DEBUG const
							parent
							
								
									3f872e6024
								
							
						
					
					
						commit
						a3cad31754
					
				|  | @ -39,7 +39,7 @@ $time = time(); | |||
| if(psm_get_conf('cron_running') == 1 && ($time - psm_get_conf('cron_running_time') < PSM_CRON_TIMEOUT)) { | ||||
|    die('Cron is already running. Exiting.'); | ||||
| } | ||||
| if(!PSM_DEBUG) { | ||||
| if(!defined('PSM_DEBUG') || !PSM_DEBUG) { | ||||
| 	psm_update_conf('cron_running', 1); | ||||
| } | ||||
| psm_update_conf('cron_running_time', $time); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Pepijn Over
						Pepijn Over