Location: PHPKode > scripts > OekakiPoteto > oekakipoteto/docs/chback.php
//This script will attempt to give your picture directory permissions back to you due to the auto creation of the directory in 4.x. To run, put in your picture directory name in $directory and upload to your OP directory and run it. There is a chance it will not work. If this happens, you will have to ask your tech support to chmod it back to your name with 777 permissions.

//Change this directory to your picture directory
$directory = "pictures";

//command to attempt to chmod the picture directory
chmod($directory, 0777);

Return current item: OekakiPoteto