uawdijnntqw1x1x1
IP : 216.73.216.237
Hostname : webd009.cluster130.gra.hosting.ovh.net
Kernel : Linux webd009.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pressec
/
www
/
ads--temp-pour-eviter-les-spams
/
assets
/
..
/
www
/
admin
/
maintenance-storage-move.php
/
/
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | | | Copyright: See the COPYRIGHT.txt file. | | License: GPLv2 or later, see the LICENSE.txt file. | +---------------------------------------------------------------------------+ */ // Require the initialisation file require_once '../../init.php'; // Required files require_once MAX_PATH . '/lib/OA/Dal.php'; require_once MAX_PATH . '/www/admin/config.php'; require_once MAX_PATH . '/www/admin/lib-banner.inc.php'; require_once MAX_PATH . '/www/admin/lib-storage.inc.php'; // Security check OA_Permission::enforceAccount(OA_ACCOUNT_ADMIN); OA_Permission::checkSessionToken(); /*-------------------------------------------------------*/ /* Main code */ /*-------------------------------------------------------*/ $doBanners = OA_Dal::factoryDO('banners'); $doBanners->storagetype = 'sql'; $doBanners->find(); while ($doBanners->fetch()) { // Get the filename $filename = $doBanners->filename; // Copy the file $buffer = phpAds_ImageRetrieve('sql', $filename); $doBanners->filename = phpAds_ImageStore('web', $filename, $buffer); // TODO: Would be nice if we gave some indication to the user of success or failure! if ($doBanners->filename != false) { phpAds_ImageDelete ('sql', $filename); $doBannersClone = clone($doBanners); $doBannersClone->imageurl = ''; $doBannersClone->storagetype = 'web'; $doBannersClone->update(); } } Header("Location: maintenance-storage.php"); ?>
/home/pressec/www/ads--temp-pour-eviter-les-spams/assets/../www/admin/maintenance-storage-move.php