[Loadstone] .osm files and offline tools

Igor B. Poretsky poretsky at mlbox.ru
Tue May 12 17:39:59 BST 2009


Hello!

>>>>> "Josh" == Josh  <jkenn337 at gmail.com> writes:

    Josh> Hi, I would like to ask that in the loadstone offline tools
    Josh> server edition could you remove the restriction on the size
    Josh> of .osm files?

You can easily do it yourself by editing file htdocs/inc/filesize.inc
in the following way:

<?php
$filesize = $_FILES['file']['size'];
//if ($filesize >8500000)
//$errors[] = "File too big (max size = 8 MB).";
if ($filesize < 1)
$errors[] = "File empty or not submitted.";
?>

But there can be some other restrictions elsewhere in your system yet.

Best regards,
Igor.


More information about the Loadstone mailing list