backup_sche_modules)) { $backup_config->backup_sche_modules = 1; } if (!isset($backup_config->backup_sche_withuserdata)) { $backup_config->backup_sche_withuserdata = 1; } if (!isset($backup_config->backup_sche_metacourse)) { $backup_config->backup_sche_metacourse = 1; } if (!isset($backup_config->backup_sche_users)) { $backup_config->backup_sche_users = 1; } if (!isset($backup_config->backup_sche_logs)) { $backup_config->backup_sche_logs = 0; } if (!isset($backup_config->backup_sche_userfiles)) { $backup_config->backup_sche_userfiles = 1; } if (!isset($backup_config->backup_sche_coursefiles)) { $backup_config->backup_sche_coursefiles = 1; } if (!isset($backup_config->backup_sche_messages)) { $backup_config->backup_sche_messages = 0; } if (!isset($backup_config->backup_sche_active)) { $backup_config->backup_sche_active = 0; } if (!isset($backup_config->backup_sche_weekdays)) { $backup_config->backup_sche_weekdays = "0000000"; } if (!isset($backup_config->backup_sche_hour)) { $backup_config->backup_sche_hour = 00; } if (!isset($backup_config->backup_sche_minute)) { $backup_config->backup_sche_minute = 00; } if (!isset($backup_config->backup_sche_destination)) { $backup_config->backup_sche_destination = ""; } if (!isset($backup_config->backup_sche_keep)) { $backup_config->backup_sche_keep = 1; } //print_object($backup_config); //Debug //Yes/no array for use in yes/no menu $yesno_array[0] = $no; $yesno_array[1] = $yes; //With user data/without user data array for use in menu $withwithout_array[0] = $withoutuserdata; $withwithout_array[1] = $withuserdata; //Course/alla array for use in course/all menu $courseall_array[0] = $all; $courseall_array[1] = $course; //Keep array for use in keep menu $keep_array[0] = $all; $keep_array[1] = "1"; $keep_array[2] = "2"; $keep_array[5] = "5"; $keep_array[10] = "10"; $keep_array[20] = "20"; $keep_array[30] = "30"; $keep_array[40] = "40"; $keep_array[50] = "50"; $keep_array[100] = "100"; $keep_array[200] = "200"; $keep_array[300] = "300"; $keep_array[400] = "400"; $keep_array[500] = "500"; ?>