Skip to content

Commit

Permalink
Chmod 777 on dirs ttfontdata, tmp, graph_cache after composer install
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire authored and Matej Humpal committed Apr 29, 2015
1 parent 24b8538 commit 69d1abd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion composer.json
Expand Up @@ -22,5 +22,12 @@
},
"autoload": {
"classmap": ["mpdf.php", "classes"]
}
},
"scripts": {
"post-install-cmd": [
"php -r \"chmod('./ttfontdata', 0777);\"",
"php -r \"chmod('./tmp', 0777);\"",
"php -r \"chmod('./graph_cache', 0777);\""
]
}
}

0 comments on commit 69d1abd

Please sign in to comment.