mourne_rcpp_fw/Mourne-CI/application/helpers/event_helper.php

17 lines
254 B
PHP
Raw Normal View History

2021-10-30 19:02:07 +02:00
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('ev_type'))
{
function ev_type($ev)
{
if ($ev == 'build')
return 0;
if ($ev == 'upgrade')
return 1;
if ($ev == 'create')
return 2;
}
}