I'm making a test script for a web application I'm developing, and in the registration of that web app I have a small script in which it makes a few folders under the user's name.
Here is my code:
//If there is not error
if(!$user->has_error()) {
$userdir =...