Location: PHPKode > projects > PhpBlock > A9.8/script/init/createallimagecache.php
<?php
include_once "../site.class.php";
include_once $PATH_TO_CODE."/script/connect.php";
include_once $PATH_TO_CODE."/script/fonction.php";
include_once $PATH_TO_CODE."/script/block.class.php";

include_once $PATH_TO_CODE."/script/log.class.php";
include_once $PATH_TO_CODE."/script/imagemanager.class.php";


$locImageManager=ImageManager::getInstance();
$res = executer("SELECT blockId FROM block");
while($row = mysql_fetch_array($res)) {
    echo $row[0]."<br>";
    $locImageManager->createDirectories($row[0], $row[0]);
}
?>
Return current item: PhpBlock