[eluser]sblaas[/eluser]
[quote author="runrun" date="1304346448"]html and new_html folder is on the same directory.
In CI 2.0.2:
Code:
write_file("html/".basename($htmlfile), $str); // will work
write_file("new_html/".basename($htmlfile), $str); // will not work
In CI 1.7.2:
Both codes will work.[/quote]
Also both on the same directory structure ?
My best guess: in your 2.x environment the "new_html" isn't writable..