4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: vietdragon on December 12, 2005, 09:26:49 AM
-
After i creat new cat , have a new folder creat but it's chmod is 755 , how can it auto chmod to 777 ?
Thank !
-
1) try set it in includes/constants.php:
// Chmod for files and directories created by 4images
define('CHMOD_FILES', 0666);
define('CHMOD_DIRS', 0777);
2) if that doesnt work, then in admin/categories.php set it in this line: $result = mkdir($path, 0755);
-
Done , it working now , thanks ! :)