public static function calc_full_directory_for_object(DataObject $do)
    {
        if ($do->ClassName == 'Subsite') {
            //This is the subsite creation
            //we only want the subsite part
            return self::calc_directory_for_subsite($do);
        } else {
            //If we're dealing with a path inside of a subsites,
            //we need at least be sure that the subsite is having an asset directory
            //NOTE: this only works when on the actual subsite

            $subsite_dir = self::get_directory_for_current_subsite();
            if ($subsite_dir) {
                $str = parent::calc_full_directory_for_object($do);
                $str = "$subsite_dir/$str";

                return $str;
            } else {
                return false;
            }
        }
    }