You are here

function hosting_wizard_current_step in Hosting 5

1 call to hosting_wizard_current_step()
hosting_wizard_next_step in ./hosting.wizard.inc

File

./hosting.wizard.inc, line 624

Code

function hosting_wizard_current_step() {
  if (sprintf("%s/%s", arg(0), arg(1)) == 'hosting/wizard') {
    $current = trim(str_replace('hosting/wizard', '', $_GET['q']), '/');
    if (!$current) {
      $current = 'intro';
    }
    return $current;
  }
}