- 26-7-2557 17-58-11.png (37.09 KiB) Viewed 4135 times
รายละเอียด : MOD นี้จะทำการสำรองข้อมูลอัตโนมัติ สามารถใช้ได้กับ phpBB 3.0.11 และ 3.0.12
พัฒนาโดย : Pico88
Version : 1.0.3
ดาวน์โหลดได้ที่ :
https://www.mindphp.com/download/files/123-1 ... 3-zip.html
ไฟล์ที่ใช้ในการติดตั้ง
>>cron.php,
>>includes/functions.php
วิธีติดตั้ง
เปิดไฟล์ cron.php
ค้นหา
โค้ด: เลือกทั้งหมด
}
// Unloading cache and closing db after having done the dirty work.
unlock_cron();
garbage_collection();
เติมก่อน
โค้ด: เลือกทั้งหมด
case 'auto_backup':
if ((time() - $config['auto_backup_gc'] * 86400) <= $config['auto_backup_last_gc'])
{
break;
}
include($phpbb_root_path . 'includes/auto_backup.' . $phpEx);
auto_backup();
break;
เปิดไฟล์ includes/functions.php
ค้นหา
เติมหลัง
โค้ด: เลือกทั้งหมด
else if (isset($config['auto_backup_enable']) && $config['auto_backup_enable'] && (($time_now - $config['auto_backup_gc'] * 86400) > $config['auto_backup_last_gc']))
{
$cron_type = 'auto_backup';
}
*จากนั้นให้ทำการ คัดลอกไฟล์ทั้งหมดที่มี ในโฟลเดอร์ root ไปวางทับ
และทำการรันในหน้า install_auto_backup.php เพื่อทำการ install